![Script Script](https://images-na.ssl-images-amazon.com/images/I/41JYjt0JPSL._AC_SY350_.jpg)
Me = game.Players.RockBullets char = me.Character selected = false attacking = false hurt = false grabbed = nil mode = 'drop' bloodcolors = 'Really red', 'Bright red.
This tutorial shows you how to make your own full lua c roblox exploit using the wearedevs api brought to you by wearedevs you can make this exploit free. Simply put, Roblox is a game (or a library of games)—not a programming language. But it does use one! Users can make their Roblox game creations come to life using the Lua scripting language—a popular programming language that's very similar to Java. In fact, a lot of programmers often blend both languages to form a unique scripting language.
The code you’ve used so far won’t run if there are multiple parts of the same name. That means if you want multiple parts to change colors, you’d have to make new parts and new scripts for each of them. That could take forever.
Instead of doing that, you can make a small change to the code that will let you copy and paste it into any part.
Attach a Script to a Part
Instead of creating a script in ServerScriptService, you’ll create a new script that’s attached to a part.
![Roblox lua c script copy paste wings 2 Roblox lua c script copy paste wings 2](https://i.imgur.com/czLafSk.png)
- Create a new part and rename it. This lesson will use LoopingPart.
- Right-click the part and select Insert Object > New Script.
- Rename the script. This lesson will use ColorChangeScript.
- In the script editor, delete
print('Hello world!')
. - Copy and paste the code below into ColorChangeScript. This creates a part that loops through a set of colors every three seconds.
Making the Script Reusable
With the current script, you can only change the color of a single part named LoopingPart. To change the color of any part, use
script.Parent
. This command stores whatever the object is attached to. In this case, the script is attached to a part.- Replace
local loopingPart = game.Workspace.LoopingPart
with below:
A parent is anything that has objects, like scripts or parts, attached below it. Anything under the parent is its children. In the example shown below, ColorPart is the parent and ColorChangeScript is the child.
Roblox Lua C Script Copy Paste Wings Code
With the script and part just created, the part is the parent and the script is the child. This special line of code will tell the script to find it’s parent, the part. Using this line of code, you don’t even have to know what the part is named.
Roblox Lua Script Copy And Paste
Now that the variable will refer to the whatever part the script is attached to, you can make as many copies as you want.
- Select the ColorPart in your game.
- Right-click the part and select copy, and then right-click again and select paste. You should end up with an exact duplicate of both the part and the script attached to it.
- Run the game to see the looping parts in action!
Roblox Script Copy And Paste
These documents are licensed by Roblox Corporation under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Roblox, Powering Imagination, and Robux are trademarks of Roblox Corporation, registered in the United States and other countries.
Feb 19th, 2016
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- --Metal Wings Gifted by TheRedAngel, Regular Script!
- me = game.Players.Fauxen
- if script.Parent.className ~= ' hopperbin'="" then="">h = Instance.new('HopperBin',me.Backpack)h.Name = 'Wings'script.Parent = hendbin = script.Parentfunction weld(w, p, p0, p1, a, b, c, x, y, z)w.Parent = pw.Part0 = p0w.Part1 = p1w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)endfunction prop(part, parent, collide, tran, ref, x, y, z, color)part.Parent = parentpart.formFactor = 0part.CanCollide = collidepart.Transparency = tranpart.Reflectance = refpart.Size = Vector3.new(x,y,z)part.BrickColor = BrickColor.new(color)part:BreakJoints()endfunction mesh(mesh, parent, x, y, z, type)mesh.Parent = parentmesh.Scale = Vector3.new(x, y, z)mesh.MeshType = typeendwings = Instance.new('Model',me.Character)wings.Name = 'Wings'torso = me.Character.Torsorarm = me.Character['Right Arm']larm = me.Character['Left Arm']main = Instance.new('Part')prop(main,wings,false,0,0.06,2,1,2,'Dark grey')mainmesh = Instance.new('SpecialMesh')mesh(mainmesh,main,0.9,0.4,0.75,'Torso')tweld = Instance.new('Weld')weld(tweld,torso,torso,main,-1.57,0,0,0,0,-0.7)wing1 = Instance.new('Part')prop(wing1,wings,false,0,0.1,1,1,2,'Dark grey')wingmesh1 = Instance.new('SpecialMesh')mesh(wingmesh1,wing1,1,0.65,1.2,'Brick')ww1 = Instance.new('Weld')weld(ww1,main,main,wing1,0,0,0,1,0,0)wing2 = Instance.new('Part')prop(wing2,wings,false,0,0.1,1,1,2,'Dark grey')wingmesh2 = Instance.new('SpecialMesh')mesh(wingmesh2,wing2,1,0.65,1.2,'Brick')ww2 = Instance.new('Weld')weld(ww2,main,main,wing2,0,0,0,-1,0,0)wing2b = Instance.new('Part')prop(wing2b,wings,false,0,0.1,1,2,3,'Dark grey')wingmesh2b = Instance.new('SpecialMesh')mesh(wingmesh2b,wing2b,0.4,1.4,1.4,'Wedge')ww2b = Instance.new('Weld')weld(ww2b,main,main,wing2b,-math.pi/2,0,math.pi/2,-3,0,-0.25)wing1b = Instance.new('Part')prop(wing1b,wings,false,0,0.1,1,2,3,'Dark grey')wingmesh1b = Instance.new('SpecialMesh')mesh(wingmesh1b,wing1b,0.4,1.4,1.4,'Wedge')ww1b = Instance.new('Weld')weld(ww1b,main,main,wing1b,-math.pi/2,0,-math.pi/2,3,0,-0.25)thrust1 = Instance.new('Part')prop(thrust1, wings, false, 0, 0.1, 1, 2, 1, 'Dark grey')tme1 = Instance.new('SpecialMesh')mesh(tme1,thrust1,0.8,1,0.8,'Head')tw1 = Instance.new('Weld')weld(tw1, wing1b, wing1b, thrust1, 0, 0, 0, 0, 0, 0)thrust2 = Instance.new('Part')prop(thrust2, wings, false, 0, 0.1, 1, 2, 1, 'Dark grey')tme2 = Instance.new('SpecialMesh')mesh(tme2,thrust2,0.8,1,0.8,'Head')tw2 = Instance.new('Weld')weld(tw2, wing2b, wing2b, thrust2, 0, 0, 0, 0, 0, 0)fire1 = Instance.new('Fire',thrust1)fire1.Heat = 25fire1.Size = 2fire1.Enabled = falsefire2 = Instance.new('Fire',thrust2)fire2.Heat = 25fire2.Size = 2fire2.Enabled = falsehold = falseusing = falsespeed = 0maxspeed = 700bin.Selected:connect(function(mouse)speed = 0mouse.Button1Down:connect(function()if using false thenhold = trueusing = trueme.Character.Humanoid.PlatformStand = truebg = Instance.new('BodyGyro',main)bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)bv = Instance.new('BodyVelocity',main)bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)bg.cframe = CFrame.new(main.Position, mouse.Hit.p)bv.velocity = main.CFrame.lookVector * speedfire1.Enabled = truefire2.Enabled = truewhile hold dowait()speed = speed + 5if speed >= maxspeed thenspeed = maxspeedendbg.cframe = CFrame.new(main.Position, mouse.Hit.p)bv.velocity = main.CFrame.lookVector * speedendendend)mouse.Button1Up:connect(function()hold = falseme.Character.Humanoid.PlatformStand = falsefire1.Enabled = falsefire2.Enabled = falsefor i = speed, 0, -30 dowait()speed = ibv.velocity = main.CFrame.lookVector * speedendbg.Parent = torsobg.cframe = CFrame.new(torso.Position, torso.Position + Vector3.new(3,0,0))wait(0.5)bv:remove()wait(2)bg:remove()using = falseend)end)RAW Paste Data