SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},Soundscape=r:GetService("RunService").Heartbeat,BindToSoundscape=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | - | Player=game:GetService("Players").LocalPlayer
|
| 6 | + | props = {
|
| 7 | - | Character=Player.Character |
| 7 | + | {"Part", "Body", BrickColor.new("Bright Red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 4.0999999, -7.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 8 | - | PlayerGui=Player.PlayerGui |
| 8 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 3.10000014, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 9 | - | Backpack=Player.Backpack |
| 9 | + | {"Part", "Body", BrickColor.new("Bright yellow"), Enum.Material.SmoothPlastic, 0.5, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 3.30000019, 10.3000002, -0.999999583, 1.74490549e-006, -7.45056852e-008, 1.59342812e-006, 0.988770843, 0.149438709, 2.85562123e-007, 0.149438798, -0.988770902), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 0.400000006, 0.699999988), "", Vector3.new(1, 1, 1)}, {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=10870941", 0, Enum.NormalId.Top}},
|
| 10 | - | Torso=Character.Torso |
| 10 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(0.100000001, 3.35000014, 8.40000057, 0.968912065, -0.0369729511, -0.244626865, 1.07080575e-006, 0.988770783, -0.149439141, 0.247405142, 0.144793153, 0.958032131)},
|
| 11 | - | Head=Character.Head |
| 11 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(7, 1.20000005, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 3.29999995, 2.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 12 | - | Humanoid=Character.Humanoid |
| 12 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 3.30000019, 8.90000057, 0.999999881, 4.98870065e-008, -1.01291491e-008, 5.59896023e-008, 0.988770723, -0.14943935, -2.18696914e-013, 0.14943938, 0.988770843)},
|
| 13 | - | m=Instance.new('Model',Character)
|
| 13 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1, 3.80000019, 4.9000001, 0.921060205, -0.0388787873, -0.387474418, 1.69373425e-006, 0.995003998, -0.099833928, 0.389420092, 0.0919524059, 0.916458845), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.25, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 14 | - | LeftArm=Character["Left Arm"] |
| 14 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-1.10000002, 3.35000014, 8.40000057, 0.968912125, 0.0369731523, 0.244626656, -9.8861608e-007, 0.988770783, -0.149439529, -0.247404993, 0.144793555, 0.958032131)},
|
| 15 | - | LeftLeg=Character["Left Leg"] |
| 15 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-1.9000001, 3.10000014, 9.40000057, 0.995004058, -0.0149194542, -0.0987127945, 4.53826146e-007, 0.988770843, -0.149439275, 0.0998338908, 0.148692667, 0.983831108)},
|
| 16 | - | RightArm=Character["Right Arm"] |
| 16 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2, 2.70000005, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 17 | - | RightLeg=Character["Right Leg"] |
| 17 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 6), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-1.9000001, 2.60000014, 7.80000019, 0.264496654, -0.958711684, 0.104467005, 0.952737808, 0.24297832, -0.182351485, 0.149439305, 0.147761062, 0.977667868)},
|
| 18 | - | LS=Torso["Left Shoulder"] |
| 18 | + | {"Part", "Wheel2", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20000029, 2.70000005, 3.9000001, 0.999999881, 1.58800368e-008, 5.82094231e-008, 5.59895739e-008, 0.000792059698, 0.999999642, 1.58231135e-008, -0.999999702, 0.000792059756), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 19 | - | LH=Torso["Left Hip"] |
| 19 | + | {"Part", "Wheel2", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(4, 3.60000014, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.70000029, 1.80000007, 3.9000001, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.5, 3.5, 13), "", Vector3.new(1, 1, 1)}},
|
| 20 | - | RS=Torso["Right Shoulder"] |
| 20 | + | {"Part", "Wheel2", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.19900036, 2.20000005, 2.95000005, 0.999999821, -0.000449574814, 0.000139054915, 0.00044967432, 0.825333834, -0.564644575, 0.000139096184, 0.564644694, 0.825334072), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 21 | - | RH=Torso["Right Hip"] |
| 21 | + | {"Part", "Wheel2Main", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.10000038, 1.80000007, 3.9000001, 0.000797623419, -0.999999285, 0.000796324341, -4.2209399e-006, 0.000796222186, 0.999999583, -0.999999702, -0.000797626621, -3.58586021e-006), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 22 | - | Face = Head.face |
| 22 | + | {"Part", "Wheel2", BrickColor.new("Bright Red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20100021, 1, 4.5, 0.999998987, 0.000666414911, 0.00123218365, -0.000666323001, -0.547356606, 0.836899042, 0.00123215443, -0.836899161, -0.547355771), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 23 | - | Neck=Torso.Neck |
| 23 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.30000019, 2.55000019, 6.45000029, 0.000289454678, 0.999999642, 0.00074209756, -0.362358034, 0.00079666113, -0.932038546, -0.932038903, 8.85106431e-007, 0.362358212), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 24 | - | it=Instance.new |
| 24 | + | {"Part", "Wheel2", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20100021, 2.20000005, 4.85000038, 0.999999821, 0.000449661602, 0.000139096432, -0.000449529063, 0.825332344, 0.5646469, 0.000139093667, -0.564646959, 0.825332522), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 25 | - | attacktype=1 |
| 25 | + | {"Part", "Wheel2", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.70000029, 1.80000007, 3.9000001, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.20000005, 3.20000005, 13), "", Vector3.new(1, 1, 1)}},
|
| 26 | - | vt=Vector3.new |
| 26 | + | {"Part", "Wheel2", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20000029, 1, 3.30000019, 0.999998987, -0.000666448555, 0.00123208365, 0.000666467764, -0.547351599, -0.836902261, 0.00123213837, 0.83690238, -0.547350764), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 27 | - | cf=CFrame.new |
| 27 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 2.10000014, 9.20000076, 0.540299654, 0.841472268, -0.000669968082, 3.55114503e-006, 0.000794037594, 0.999999583, 0.841472626, -0.540299535, 0.000426018843)},
|
| 28 | - | euler=CFrame.fromEulerAnglesXYZ |
| 28 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.30000019, 2.10000014, 7.40000057, -1.35344612e-006, 0.999999881, 5.59896591e-008, 4.21128561e-006, 5.59895454e-008, 0.999999881, 1, 1.35344601e-006, -4.2112847e-006)},
|
| 29 | - | angles=CFrame.Angles |
| 29 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.35000038, 2.60000014, 1, 0.000286917581, 1.00000751, -0.000741755357, -0.362354875, 0.000796305132, 0.932043433, 0.932050824, -6.86448232e-009, 0.362362236), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 30 | - | cloaked=false |
| 30 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.70000029, 1.80000007, 3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 31 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 31 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.70000029, 1.80000007, 3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 32 | - | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 32 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 3.10000014, 7.10000038, 0.999999881, 4.98870065e-008, -1.01291491e-008, 5.59896023e-008, 0.988770723, -0.14943935, -2.18696914e-013, 0.14943938, 0.988770843), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1.10000002, 0.899999976), "", Vector3.new(1, 1, 1)}},
|
| 33 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 33 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 3.30000019, 8, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 34 | - | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 34 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.5, 2.70000005, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 35 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 35 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.20000005, 2.80000019, 8.45000076, 0.995004058, 0.0983813107, -0.0169682652, 4.53826146e-007, 0.169961601, 0.985450566, 0.0998338908, -0.98052752, 0.169112474), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
|
| 36 | - | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 36 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.5, 2.9000001, 5.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 37 | - | RootPart=Character.HumanoidRootPart |
| 37 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 2.30000019, 0.900000036, 0.999999881, 6.5971173e-011, 5.82094231e-008, 5.59896023e-008, 0.000792059815, 0.999999642, -2.18696914e-013, -0.999999702, 0.000792059873), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 0.800000012), "", Vector3.new(1, 1, 1)}},
|
| 38 | - | RootJoint=RootPart.RootJoint |
| 38 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 6), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.50000024, 3.10000014, 5.9000001, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.20000005, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 39 | - | RootCF=euler(-1.57,0,3.14) |
| 39 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.9000001, 2.1500001, 9.78000069, 0.995004058, -0.0998338535, -7.9555226e-005, 4.53826146e-007, 0.000800439797, -0.999999583, 0.0998338908, 0.995003819, 0.000796486274), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
|
| 40 | - | attack = false |
| 40 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 3.45000005, 7.60000038, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012), "", Vector3.new(1, 1, 1)}},
|
| 41 | - | attackdebounce = false |
| 41 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(4, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 4.80000019, 2.9000001, 1.00000751, 1.7522072e-007, -1.62213962e-006, 1.85731324e-008, 0.877587318, -0.479423463, 2.00358006e-008, 0.479431331, 0.877593279), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.20000005), "", Vector3.new(1, 1, 1)}},
|
| 42 | - | deb=false |
| 42 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2, 3.80000019, 4.9000001, 0.921060324, 0.0388790555, 0.387473941, -1.57472516e-006, 0.995003939, -0.0998344794, -0.389419645, 0.091952987, 0.916458964), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.25, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 43 | - | equipped=true |
| 43 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.80000019, 3.70000029, 3.4000001, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.35000002), "", Vector3.new(1, 1, 1)}},
|
| 44 | - | hand=false |
| 44 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.50000024, 4.5, 2.85000014, 0.902708292, -0.429478467, 0.0261098109, 0.381658018, 0.771220505, -0.509472847, 0.198671788, 0.469874829, 0.860100091), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 1, 1.20000005), "", Vector3.new(1, 1, 1)}},
|
| 45 | - | MMouse=nil |
| 45 | + | {"Part", "Wheel3", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(4, 3.60000014, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 1.80000007, -9.35000038, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.5, 3.5, 13), "", Vector3.new(1, 1, 1)}},
|
| 46 | - | combo=0 |
| 46 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20100021, 1, 3.30000019, 0.999998987, -0.000666448555, 0.00123208365, 0.000666467764, -0.547351599, -0.836902261, 0.00123213837, 0.83690238, -0.547350764), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 47 | - | mana=0 |
| 47 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20100021, 2.20000005, 2.95000005, 0.999999821, -0.000449574814, 0.000139054915, 0.00044967432, 0.825333834, -0.564644575, 0.000139096184, 0.564644694, 0.825334072), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 48 | - | trispeed=.2 |
| 48 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.99900007, 2.20000005, -8.40000057, 0.999999821, 0.000449661602, 0.000139096432, -0.000449529063, 0.825332344, 0.5646469, 0.000139093667, -0.564646959, 0.825332522), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 49 | - | attackmode='none' |
| 49 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 6, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 50 | - | local idle=0 |
| 50 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5.0010004, 1, -9.95000076, 0.999998987, -0.000666448555, 0.00123208365, 0.000666467764, -0.547351599, -0.836902261, 0.00123213837, 0.83690238, -0.547350764), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 51 | - | local Anim="Idle" |
| 51 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5, 1, -8.75, 0.999998987, 0.000666414911, 0.00123218365, -0.000666323001, -0.547356606, 0.836899042, 0.00123215443, -0.836899161, -0.547355771), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 52 | - | local Effects={}
|
| 52 | + | {"Part", "BodyMain", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(9, 0.400000006, 19), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 1.30000007, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 53 | - | local gun=false |
| 53 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.70000029, 1.80000007, 3.9000001, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.20000005, 3.20000005, 13), "", Vector3.new(1, 1, 1)}},
|
| 54 | - | local shoot=false |
| 54 | + | {"Part", "Wheel1Main", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.10000038, 1.80000007, 3.9000001, 0.000797623419, -0.999999285, 0.000796324341, -4.2209399e-006, 0.000796222186, 0.999999583, -0.999999702, -0.000797626621, -3.58586021e-006), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 55 | - | player=nil |
| 55 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.19900036, 2.20000005, 4.85000038, 0.999999821, 0.000449661602, 0.000139096432, -0.000449529063, 0.825332344, 0.5646469, 0.000139093667, -0.564646959, 0.825332522), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 56 | - | mana=0 |
| 56 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20000029, 1, 4.5, 0.999998987, 0.000666414911, 0.00123218365, -0.000666323001, -0.547356606, 0.836899042, 0.00123215443, -0.836899161, -0.547355771), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 57 | - | |
| 57 | + | {"Part", "Wheel1", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(4, 3.60000014, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.70000029, 1.80000007, 3.9000001, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.5, 3.5, 13), "", Vector3.new(1, 1, 1)}},
|
| 58 | - | mouse=Player:GetMouse() |
| 58 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5.0010004, 2.20000005, -10.3000002, 0.999999821, -0.000449574814, 0.000139054915, 0.00044967432, 0.825333834, -0.564644575, 0.000139096184, 0.564644694, 0.825334072), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 59 | - | --save shoulders |
| 59 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(12, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 4, -10.1000004, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.970000029, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 60 | - | RSH, LSH=nil, nil |
| 60 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 1.80000007, -9.35000038, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1)},
|
| 61 | - | --welds |
| 61 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 1.30000007, 10.1000004, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 62 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 62 | + | {"Seat", "Seat", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, false, Enum.FormFactor.Custom, Enum.PartType.Block, Vector3.new(2, 1, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2, 1.20000005, -1.60000002, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"BlockMesh", "Mesh", Vector3.new(0, 0.600000024, 0), Vector3.new(1, 0.400000006, 1), Vector3.new(1, 1, 1)}},
|
| 63 | - | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 63 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 11.6000004, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 1.4000001, -12.0500002, 0.000136511822, 0.999999642, 0.000784602016, -0.169969633, 0.00079650071, -0.985448837, -0.985449314, 1.16634953e-006, 0.169969708), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 64 | - | LH=Torso["Left Hip"] |
| 64 | + | {"Part", "BodyBottom", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Custom, Enum.PartType.Block, Vector3.new(9, 19, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Hinge, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 0.600000024, -0.100000001, 1, 0, -0, 0, 0, -1, 0, 1, -0)},
|
| 65 | - | RH=Torso["Right Hip"] |
| 65 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.8300004, 1.50000012, -4.75, 0.995004058, -3.48828394e-007, -0.0998338833, 4.53826146e-007, 0.999999881, 8.4799467e-008, 0.0998338908, -1.28791498e-007, 0.995004117), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.600000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 66 | - | TorsoColor=Torso.BrickColor |
| 66 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.70000005, 1.80000007, 3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 67 | - | function NoOutline(Part) |
| 67 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 1.80000007, -9.35000038, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.20000005, 3.20000005, 13), "", Vector3.new(1, 1, 1)}},
|
| 68 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 68 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 2.10000014, 9.20000076, 0.540301204, -0.841471314, 0.000670092122, -3.56110741e-006, 0.000793909829, 0.999999583, -0.841471672, -0.540301025, 0.000425968145)},
|
| 69 | {"VehicleSeat", "DriverSeat", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, false, false, 0, 0, 0, Vector3.new(2, 1, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1, 1.20000005, -1.60000002, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"BlockMesh", "Mesh", Vector3.new(0, 0.600000024, 0), Vector3.new(1, 0.400000006, 1), Vector3.new(1, 1, 1)}},
| |
| 70 | - | player=Player |
| 70 | + | {"Part", "Wheel3Main", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.9000001, 1.80000007, -9.35000038, 0.000797623419, -0.999999285, 0.000796324341, -4.2209399e-006, 0.000796222186, 0.999999583, -0.999999702, -0.000797626621, -3.58586021e-006), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 71 | - | ch=Character |
| 71 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.10000000149012, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(9, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 1.10000002, -11.1000004, -1, 0, -0, -0, 1, -0, -0, 0, -1)},
|
| 72 | - | RSH=ch.Torso["Right Shoulder"] |
| 72 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(0.900000036, 1.30000007, 9.40000057, 0.995004058, 4.8124582e-007, 0.099833861, -3.7401071e-007, 0.99999994, -8.26012183e-008, -0.0998338684, 4.56518592e-008, 0.995004117)},
|
| 73 | - | LSH=ch.Torso["Left Shoulder"] |
| 73 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.30000019, 2.10000014, 7.40000057, -1.35344612e-006, 0.999999881, 5.59896591e-008, 4.21128561e-006, 5.59895454e-008, 0.999999881, 1, 1.35344601e-006, -4.2112847e-006)},
|
| 74 | - | -- |
| 74 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.70000005, 1.80000007, 3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 75 | - | RSH.Parent=nil |
| 75 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-1.9000001, 1.30000007, 9.40000057, 0.995004058, -3.48828394e-007, -0.0998338833, 4.53826146e-007, 0.999999881, 8.4799467e-008, 0.0998338908, -1.28791498e-007, 0.995004117)},
|
| 76 | - | LSH.Parent=nil |
| 76 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 1.80000007, -9.35000038, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1)},
|
| 77 | - | -- |
| 77 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 1.50000012, -1.50000012, 0.995004058, -3.48828394e-007, -0.0998338833, 4.53826146e-007, 0.999999881, 5.77485935e-008, 0.0998338908, -1.02897957e-007, 0.995004117), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.600000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 78 | - | RW.Name="Right Shoulder" |
| 78 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, CFrame.new(1, 3.20000005, 0.200000003, -0.999999881, -1.02670043e-013, -5.59896591e-008, -5.59896023e-008, -4.21128607e-006, -0.999999881, 2.18696914e-013, -1, 4.2112847e-006), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1, 5, 1), "", Vector3.new(1, 1, 1)}},
|
| 79 | - | RW.Part0=ch.Torso |
| 79 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 2.70000005, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 80 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 80 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 3.45000005, 7.60000038, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012), "", Vector3.new(1, 1, 1)}},
|
| 81 | - | RW.C1=cf(0, 0.5, 0) |
| 81 | + | {"Part", "Wheel1", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20000029, 2.70000005, 3.9000001, 0.999999881, 1.58800368e-008, 5.82094231e-008, 5.59895739e-008, 0.000792059698, 0.999999642, 1.58231135e-008, -0.999999702, 0.000792059756), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 82 | - | RW.Part1=ch["Right Arm"] |
| 82 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.0010004, 2.20000005, -8.40100002, 0.999999821, 0.000449661602, 0.000139096432, -0.000449529063, 0.825332344, 0.5646469, 0.000139093667, -0.564646959, 0.825332522), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 83 | - | RW.Parent=ch.Torso |
| 83 | + | {"Part", "Wheel3", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5, 2.70000005, -9.35000038, 0.999999881, 1.58800368e-008, 5.82094231e-008, 5.59895739e-008, 0.000792059698, 0.999999642, 1.58231135e-008, -0.999999702, 0.000792059756), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 84 | - | -- |
| 84 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 1.80000007, -9.35000038, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.20000005, 3.20000005, 13), "", Vector3.new(1, 1, 1)}},
|
| 85 | - | LW.Name="Left Shoulder" |
| 85 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.00000048, 2.70000005, -9.35000038, 0.999999881, 1.58800368e-008, 5.82094231e-008, 5.59895739e-008, 0.000792059698, 0.999999642, 1.58231135e-008, -0.999999702, 0.000792059756), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 86 | - | LW.Part0=ch.Torso |
| 86 | + | {"Part", "Wheel4", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(4, 3.60000014, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 1.80000007, -9.35000038, 0.000797623419, 9.62493004e-007, 0.999999642, -4.2209399e-006, 0.99999994, -8.32318051e-007, -0.999999702, -4.22026915e-006, 0.000797623536), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(3.5, 3.5, 13), "", Vector3.new(1, 1, 1)}},
|
| 87 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 87 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.0010004, 1, -8.7510004, 0.999998987, 0.000666414911, 0.00123218365, -0.000666323001, -0.547356606, 0.836899042, 0.00123215443, -0.836899161, -0.547355771), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 88 | - | LW.C1=cf(0, 0.5, 0) |
| 88 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.99900007, 2.20000005, -10.3010006, 0.999999821, -0.000449574814, 0.000139054915, 0.00044967432, 0.825333834, -0.564644575, 0.000139096184, 0.564644694, 0.825334072), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 89 | - | LW.Part1=ch["Left Arm"] |
| 89 | + | {"Part", "Wheel4Main", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.9000001, 1.80000007, -9.35000038, 0.000797623419, -0.999999285, 0.000796324341, -4.2209399e-006, 0.000796222186, 0.999999583, -0.999999702, -0.000797626621, -3.58586021e-006), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 90 | - | LW.Parent=ch.Torso |
| 90 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.30000019, 2.55000019, 6.45000029, 0.000289454678, 0.999999642, 0.00074209756, -0.362358034, 0.00079666113, -0.932038546, -0.932038903, 8.85106431e-007, 0.362358212), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 91 | - | |
| 91 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Inlet, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Studs, CFrame.new(1.70000005, 3.20000005, -0.5, 9.62493004e-007, 0.99999994, 2.18696805e-013, 0.99999994, -8.50513743e-007, -1.13686838e-012, 4.54747351e-013, -2.40396949e-013, -1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(0.200000003, 2, 1), "", Vector3.new(1, 1, 1)}},
|
| 92 | - | Player=game:GetService('Players').LocalPlayer
|
| 92 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.20000005, 2.80000019, 8.45000076, 0.995004058, -0.098381266, 0.0169683788, -3.7401071e-007, 0.169961631, 0.985450566, -0.0998338684, -0.980527461, 0.169112518), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
|
| 93 | - | Character=Player.Character |
| 93 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.60000038, 2.68000007, -5.10000038, -0.999998689, 0.00159254565, -1.17665502e-006, -2.44012028e-008, 0.000800466689, 0.999999642, 0.00159254624, 0.999998391, -0.000800465757), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
|
| 94 | - | Mouse=Player:GetMouse() |
| 94 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20000029, 2.5, -4.25, 0.0707365423, 0.997494996, 1.52602428e-008, -0.997494996, 0.0707366467, -1.42640602e-008, -1.53095243e-008, -1.4213299e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 95 | - | m=Instance.new('Model',Character)
|
| 95 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.5, 4, -6.9000001, 0.99875021, -0.0499788895, -3.71931463e-009, 0.0499790013, 0.99875021, -3.44743967e-009, 3.88664034e-009, 3.25871952e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 96 | - | |
| 96 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Block, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Inlet, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Weld, Enum.SurfaceType.Studs, CFrame.new(1, 3.20000005, -0.5, -0.999999881, 5.59896023e-008, 2.18696914e-013, -5.59896023e-008, 0.999999881, -9.09494702e-013, 2.18696914e-013, 9.09494702e-013, -1), {"SpecialMesh", "ring", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(2, 2, 2), "", Vector3.new(1, 1, 1)}},
|
| 97 | - | |
| 97 | + | {"Part", "Wheel4", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.5, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.00000048, 1, -9.95100021, 0.999998987, -0.000666448555, 0.00123208365, 0.000666467764, -0.547351599, -0.836902261, 0.00123213837, 0.83690238, -0.547350764), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 0.600000024, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 98 | - | local function weldBetween(a, b) |
| 98 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.20000029, 2.60000014, -1.50000012, 0.0707365647, 0.997494996, -1.20615454e-007, -0.997494996, 0.0707366765, 3.9204474e-007, 3.99593091e-007, 9.25811037e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 99 | - | local weldd = Instance.new("ManualWeld")
|
| 99 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.10000014, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 100 | - | weldd.Part0 = a |
| 100 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5.10000038, 2.5, -5.80000019, 0.000795342261, 0.999999642, 6.87708823e-009, -0.999999583, 0.000795454253, -1.64438916e-008, -1.64507128e-008, -6.86445079e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.949999988, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 101 | - | weldd.Part1 = b |
| 101 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Inlet, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Studs, CFrame.new(0.300000012, 3.20000005, -0.5, -9.62493004e-007, -0.99999994, 2.18696805e-013, -0.99999994, 8.50513743e-007, -1.13686838e-012, -4.54747351e-013, 2.40396949e-013, -1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(0.300000012, 2, 1), "", Vector3.new(1, 1, 1)}},
|
| 102 | - | weldd.C0 = CFrame.new() |
| 102 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.9000001, 3.80000019, -1.50000012, 0.988771081, 0.149437547, 1.9647175e-009, -0.149437442, 0.988771021, -5.63868525e-008, -1.03696891e-008, 5.54618964e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 103 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 103 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Inlet, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Studs, CFrame.new(1, 2.5, -0.5, -0.999999881, 5.59896023e-008, 2.18696914e-013, -5.59896023e-008, 0.999999881, -9.09494702e-013, 2.18696914e-013, 9.09494702e-013, -1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(0.300000012, 2, 1), "", Vector3.new(1, 1, 1)}},
|
| 104 | - | weldd.Parent = a |
| 104 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Studs, CFrame.new(-0.5, 3.10000014, -1.10000002, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 2, 1), "", Vector3.new(1, 1, 1)}},
|
| 105 | - | return weldd |
| 105 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 1.50000012, -1.50000012, 0.995004058, 5.09241261e-007, 0.0998338386, -4.02006208e-007, 0.999999881, -8.54352038e-008, -0.0998338461, 4.48976607e-008, 0.995004117), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.600000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 106 | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 3.10000014, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1), "", Vector3.new(1, 1, 1)}},
| |
| 107 | - | |
| 107 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 6), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(0.900000036, 2.60000014, 7.80000019, 0.264495373, 0.958711982, -0.104467057, -0.952738047, 0.242977291, -0.182351366, -0.14943935, 0.147760868, 0.977667928)},
|
| 108 | - | function swait(num) |
| 108 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 2.9000001, 5.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 109 | - | if num==0 or num==nil then |
| 109 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1, 2.70000005, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 110 | - | game:service'RunService'.Stepped:wait(0) |
| 110 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 6), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 3.10000014, 5.9000001, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.20000005, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 111 | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.1500001, 9.90000057, 0.999999881, 3.84904608e-011, -5.82370774e-008, 5.59896023e-008, 0.00080047542, -0.999999642, -2.18696914e-013, 0.999999702, 0.000800475536), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
| |
| 112 | - | for i=0,num do |
| 112 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 3.70000029, 3.4000001, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.35000002), "", Vector3.new(1, 1, 1)}},
|
| 113 | - | game:service'RunService'.Stepped:wait(0) |
| 113 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 3.30000019, 8, 0.999999881, 6.40159215e-008, -1.07870761e-008, 5.59896023e-008, 0.980066121, -0.198670879, -2.18696914e-013, 0.198670924, 0.98006624), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 114 | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(7, 1.20000005, 8), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.10000014, 5.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
| |
| 115 | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(0.900000036, 3.10000014, 9.40000057, 0.995004058, 0.0149195949, 0.0987127423, -3.7401071e-007, 0.988770723, -0.149439439, -0.0998338684, 0.148692831, 0.983831048)},
| |
| 116 | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.9000001, 2.1500001, 9.78000069, 0.995004058, 0.0998338312, 7.94311927e-005, -3.7401071e-007, 0.000800446258, -0.999999583, -0.0998338684, 0.99500376, 0.000796483771), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
| |
| 117 | - | |
| 117 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(4.35000038, 2.60000014, 1, 0.000286917581, 1.00000751, -0.000741755357, -0.362354875, 0.000796305132, 0.932043433, 0.932050824, -6.86448232e-009, 0.362362236), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 118 | - | function nooutline(part) |
| 118 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 2.30000019, 0.900000036, 0.999999881, 6.5971173e-011, 5.82094231e-008, 5.59896023e-008, 0.000792059815, 0.999999642, -2.18696914e-013, -0.999999702, 0.000792059873), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 0.800000012), "", Vector3.new(1, 1, 1)}},
|
| 119 | - | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 119 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20000029, 2.5, -4.25, 0.0707384273, -0.997494757, 3.73746722e-009, 0.997494757, 0.0707383156, 7.76663001e-009, -8.00991984e-009, 3.17928084e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 120 | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.10000000149012, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.5, 1.5, -12.6000004, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 6), "", Vector3.new(1, 1, 1)}},
| |
| 121 | - | |
| 121 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.80000019, 3.10000014, 7.10000038, 0.999999881, 4.98870065e-008, -1.01291491e-008, 5.59896023e-008, 0.988770723, -0.14943935, -2.18696914e-013, 0.14943938, 0.988770843), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1.10000002, 0.899999976), "", Vector3.new(1, 1, 1)}},
|
| 122 | - | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 122 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.10000038, 2.5, -5.80000019, 0.000795342261, 0.999999642, 6.87708823e-009, -0.999999583, 0.000795454253, -1.64438916e-008, -1.64507128e-008, -6.86445079e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.949999988, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 123 | - | local fp=it("Part")
|
| 123 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.10000038, 2.95000005, -11.7000008, 0.000249498145, 0.999999642, -0.000755574321, -0.315315962, 0.000795803033, 0.948986232, 0.948986709, 1.47528976e-006, 0.315316111), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 124 | - | fp.formFactor=formfactor |
| 124 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.60000038, 2.68000007, -5.10000038, -0.999998689, 0.00159254565, -1.17665502e-006, -2.44012028e-008, 0.000800466689, 0.999999642, 0.00159254624, 0.999998391, -0.000800465757), {"Decal", "Decal", 20, 0, "http://www.roblox.com/asset/?id=4549121", 0, Enum.NormalId.Top}},
|
| 125 | - | fp.Parent=parent |
| 125 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 1.80000007, -9.35000038, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1)},
|
| 126 | - | fp.Reflectance=reflectance |
| 126 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.8300004, 1.50000012, -4.75, 0.995004058, 4.8124582e-007, 0.099833861, -3.7401071e-007, 0.99999994, -8.26012183e-008, -0.0998338684, 4.56518592e-008, 0.995004117), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.600000024, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 127 | - | fp.Transparency=transparency |
| 127 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-6.10000038, 2.95000005, -7.00000048, 0.000361965824, 0.999999642, 0.000709590735, -0.453595489, 0.000796689128, -0.891207159, -0.891207576, 7.31362775e-007, 0.453595668), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 128 | - | fp.CanCollide=false |
| 128 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 1.80000007, -9.35000038, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1)},
|
| 129 | - | fp.Locked=true |
| 129 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2, 2.70000005, -3.10000014, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 130 | - | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 130 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 2.4000001, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.5, 2.70000005, -7.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 131 | - | fp.Name=name |
| 131 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1, 2.70000005, -3.10000014, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 132 | - | fp.Size=size |
| 132 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.4000001, 4.60000038, -1.50000012, 0.267499059, 0.963558018, -6.41357856e-009, -0.963557959, 0.267499149, -2.28556019e-009, -4.88626029e-010, 6.79125378e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 133 | - | fp.Position=Character.Torso.Position |
| 133 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5.10000038, 2.95000005, -7.00000048, 0.000361965824, 0.999999642, 0.000709590735, -0.453595489, 0.000796689128, -0.891207159, -0.891207576, 7.31362775e-007, 0.453595668), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 134 | - | nooutline(fp) |
| 134 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.20000029, 2.60000014, -1.50000012, 0.0707384273, -0.997494757, 3.73746722e-009, 0.997494757, 0.0707383156, 7.76663001e-009, -8.00991984e-009, 3.17928084e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 135 | - | fp.Material=material |
| 135 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.9000001, 3.80000019, -5.9000001, 0.988771081, 0.149437547, 1.01434887e-008, -0.149437442, 0.988771021, -2.27123564e-009, -1.03696891e-008, 7.31688488e-010, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 136 | - | fp:BreakJoints() |
| 136 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(9, 2.4000001, 2), Enum.SurfaceType.Weld, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.70000005, -10.6000004, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 137 | - | return fp |
| 137 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 2.4000001, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.5, 2.70000005, -7.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 138 | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(9, 2.4000001, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.70000005, -4.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
| |
| 139 | - | |
| 139 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 2.4000001, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, CFrame.new(-0.5, 2.70000005, -7.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 140 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 140 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-5.50000048, 4, -6.9000001, 0.99875021, 0.0499790907, -6.23245029e-008, -0.0499789789, 0.99875015, 1.94703034e-007, 7.19771407e-008, -1.91343133e-007, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 141 | - | local mesh=it(Mesh) |
| 141 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 4.4000001, -6.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 142 | - | mesh.Parent=part |
| 142 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.4000001, 4.60000038, -2.80000019, -0.96334511, -0.268264472, 0.000427231804, -0.26826486, 0.963343859, -0.00153417222, -7.26799954e-009, -0.0015925488, -0.999998748), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.20000005, 1.89999998), "", Vector3.new(1, 1, 1)}},
|
| 143 | - | if Mesh=="SpecialMesh" then |
| 143 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.60000002, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.9000001, 4.80000019, -7.60000038, 0.945989907, -0.295518279, 0.133311242, 0.292626917, 0.955336928, 0.041238077, -0.139543787, -3.37248821e-007, 0.990215957), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1.10000002, 1.89999998), "", Vector3.new(1, 1, 1)}},
|
| 144 | - | mesh.MeshType=meshtype |
| 144 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 6), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 5, -7.60000038, 0.999999881, 5.59429907e-008, 2.45460825e-008, 5.59896023e-008, 0.939371407, 0.342901021, -2.18696914e-013, -0.342901051, 0.939371526), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.10000002, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 145 | - | mesh.MeshId=meshid |
| 145 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2, 4.5, -3.10000014, 1, 0, 0, 0, 1, 0, 0, 0, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 146 | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 4.80000019, -7.60000038, 0.950564146, 0.310306102, 0.0117410915, -0.294042289, 0.887299657, 0.355300158, 0.0998339579, -0.341187984, 0.934678495), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 1, 1.20000005), "", Vector3.new(1, 1, 1)}},
| |
| 147 | - | mesh.Offset=offset |
| 147 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 4.4000001, -5.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 148 | - | mesh.Scale=scale |
| 148 | + | {"Part", "Body", BrickColor.new("Really black"), Enum.Material.SmoothPlastic, 0, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1, 4.5, -3.10000014, 1, 0, 0, 0, 1, 0, 0, 0, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 149 | - | return mesh |
| 149 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 4.5, 2.85000014, 0.902707934, 0.429478556, -0.0261131283, -0.381657958, 0.771220565, -0.509472728, -0.198671773, 0.469874859, 0.86010015), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.699999988, 1, 1.20000005), "", Vector3.new(1, 1, 1)}},
|
| 150 | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.4000001, 4.60000038, -3.00000024, -0.96334511, -0.268264472, 0.000427231804, -0.26826486, 0.963343859, -0.00153417222, -7.26799954e-009, -0.0015925488, -0.999998748), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.70000005, 1.5), "", Vector3.new(1, 1, 1)}},
| |
| 151 | - | |
| 151 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.37000012, 4.70000029, -4.30000019, -0.96334511, 0.26826492, 7.53750395e-009, -0.268265009, -0.96334511, 3.16072146e-009, 8.1091116e-009, 1.02113518e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.70000005, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 152 | - | function weld(parent,part0,part1,c0,c1) |
| 152 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.20000005, 4.5, 2.10000014, -0.943375468, -0.29551959, 0.150700822, -0.291819632, 0.955336511, 0.0466173068, -0.15774636, 1.73934495e-007, -0.987479627), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1.5, 1.5), "", Vector3.new(1, 1, 1)}},
|
| 153 | - | local weld=it("Weld")
|
| 153 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(5, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 6.00000048, -4.4000001, 0.999999881, 5.59896023e-008, -2.18696914e-013, 5.59896023e-008, 0.999999881, 9.09494702e-013, -2.18696914e-013, 9.09494702e-013, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024), "", Vector3.new(1, 1, 1)}},
|
| 154 | - | weld.Parent=parent |
| 154 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(0.5, 6, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 155 | - | weld.Part0=part0 |
| 155 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 6, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 156 | - | weld.Part1=part1 |
| 156 | + | {"Part", "Body", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0.20000000298023, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.5, 3.79999995, -12.1999998, 1, -0, 0, 0, -0, 1, 0, -1, 0), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 157 | - | weld.C0=c0 |
| 157 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.60000002, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.9000001, 4.80000019, -7.60000038, 0.945989728, 0.295518696, -0.133311287, -0.292627156, 0.955336928, 0.0412382856, 0.139543891, -4.95548306e-007, 0.990215838), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1.10000002, 1.89999998), "", Vector3.new(1, 1, 1)}},
|
| 158 | - | weld.C1=c1 |
| 158 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.4000001, 4.60000038, -2.80000019, -0.963769913, 0.266730487, -0.00153486407, 0.26673004, 0.963771105, 0.000424775033, 0.00159255846, -8.99422048e-009, -0.999998748), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.20000005, 1.89999998), "", Vector3.new(1, 1, 1)}},
|
| 159 | - | return weld |
| 159 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.50000024, 4.80000019, -7.60000038, 0.950564146, -0.310305744, -0.0117410272, 0.294042081, 0.887299776, 0.355300248, -0.0998339131, -0.341188133, 0.934678435), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 1, 1.20000005), "", Vector3.new(1, 1, 1)}},
|
| 160 | {"Part", "Body", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0.20000000298023, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.5, 3.79999995, -12.1999998, 1, -0, 0, 0, -0, 1, 0, -1, 0), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
| |
| 161 | - | |
| 161 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.37000036, 4.70000029, -4.30000019, -0.963344991, -0.268265128, -3.96680067e-009, 0.268264979, -0.963345051, 1.81564701e-008, -8.69113137e-009, 1.64254743e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.70000005, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 162 | - | |
| 162 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.60000014, 5.80000019, -1.50000012, 0.939375281, -0.342898071, -9.02056343e-007, 0.342897922, 0.939373732, 2.80666018e-006, -5.74072487e-008, -1.47153287e-006, 1.00000417), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 163 | - | local function CFrameFromTopBack(at, top, back) |
| 163 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 1, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-1.5, 6, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 164 | - | local right = top:Cross(back) |
| 164 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(3, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 6, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 165 | - | return CFrame.new(at.x, at.y, at.z, |
| 165 | + | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(2, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.4000001, 4.60000038, -1.50000012, 0.267500788, -0.963557541, 4.2555981e-009, 0.963557541, 0.267500669, 1.43318175e-008, -1.49464086e-008, 2.67561973e-010, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 166 | - | right.x, top.x, back.x, |
| 166 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.9000001, 3.80000019, -1.50000012, 0.988771141, -0.149437383, -1.84886524e-008, 0.149437502, 0.988771081, 2.52407517e-009, 1.79037158e-008, -5.256652e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 167 | - | right.y, top.y, back.y, |
| 167 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.4000001, 4.60000038, -3.00000024, -0.963769913, 0.266730487, -0.00153486407, 0.26673004, 0.963771105, 0.000424775033, 0.00159255846, -8.99422048e-009, -0.999998748), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.449999988, 1.70000005, 1.5), "", Vector3.new(1, 1, 1)}},
|
| 168 | - | right.z, top.z, back.z) |
| 168 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 4), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.9000001, 3.80000019, -5.9000001, 0.988771141, -0.149437383, -4.95980501e-009, 0.149437502, 0.988771081, 4.56884663e-009, 4.22119228e-009, -5.256652e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.800000012, 1, 1.10000002), "", Vector3.new(1, 1, 1)}},
|
| 169 | {"Part", "Body", BrickColor.new("White"), Enum.Material.SmoothPlastic, 0.5, 0.5, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-4.20000029, 4.5, 2.10000014, -0.943375468, 0.295519739, -0.150700748, 0.291819572, 0.95533663, 0.0466175489, 0.15774639, 4.18252284e-007, -0.987479687), {"SpecialMesh", "Mesh", "", Enum.MeshType.Wedge, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1.5, 1.5), "", Vector3.new(1, 1, 1)}},
| |
| 170 | - | |
| 170 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(5.10000038, 2.95000005, -11.7000008, 0.000249498145, 0.999999642, -0.000755574321, -0.315315962, 0.000795803033, 0.948986232, 0.948986709, 1.47528976e-006, 0.315316111), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.14999998), "", Vector3.new(1, 1, 1)}},
|
| 171 | - | function Triangle(a, b, c) |
| 171 | + | {"Part", "Body", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0.20000000298023, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 3.79999995, -12.1999998, 1, -0, 0, 0, -0, 1, 0, -1, 0), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 172 | - | local edg1 = (c-a):Dot((b-a).unit) |
| 172 | + | {"Part", "Body", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0.20000000298023, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 1.20000005, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(3.5, 3.79999995, -12.1999998, 1, -0, 0, 0, -0, 1, 0, -1, 0), {"SpecialMesh", "Mesh", "", Enum.MeshType.Head, Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1, 1.29999995), "", Vector3.new(1, 1, 1)}},
|
| 173 | - | local edg2 = (a-b):Dot((c-b).unit) |
| 173 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.10000000149012, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 1.5, -12.6000004, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 6), "", Vector3.new(1, 1, 1)}},
|
| 174 | - | local edg3 = (b-c):Dot((a-c).unit) |
| 174 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 11.6000004, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 2.60000014, -12.3000002, 0.000133844253, 0.999999583, -0.000784585718, -0.169961557, 0.000796067878, 0.985450327, 0.985450685, 1.45525621e-006, 0.169961616), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 1), "", Vector3.new(1, 1, 1)}},
|
| 175 | - | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 175 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.10000000149012, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 1.5, -12.6000004, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 6), "", Vector3.new(1, 1, 1)}},
|
| 176 | - | a, b, c = a, b, c |
| 176 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.10000000149012, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.800000012, 2), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.5, 1.5, -12.6000004, -1, 0, -0, -0, 1, -0, -0, 0, -1), {"SpecialMesh", "Mesh", "http://www.roblox.com/asset/?id=3270017", Enum.MeshType.FileMesh, Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 6), "", Vector3.new(1, 1, 1)}},
|
| 177 | - | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 177 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 4.4000001, -8.10000038, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 178 | - | a, b, c = b, c, a |
| 178 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.60000014, 5.80000019, -4.4000001, 0.939373016, 0.342896581, -1.7381236e-008, -0.342896402, 0.939373136, -1.120452e-008, 1.2484179e-008, 1.64868652e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1, 0.850000024), "", Vector3.new(1, 1, 1)}},
|
| 179 | - | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 179 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 4.4000001, -8.10000038, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 180 | - | a, b, c = c, a, b |
| 180 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 4.4000001, -6.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 181 | - | else |
| 181 | + | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-3.60000014, 5.80000019, -4.4000001, 0.939373136, -0.342896283, 7.39938166e-010, 0.342896372, 0.939373076, -2.65185918e-009, 2.14356533e-010, 2.746674e-009, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1, 0.850000024), "", Vector3.new(1, 1, 1)}},
|
| 182 | - | assert(false, "unreachable") |
| 182 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 4.4000001, -7.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 183 | {"Part", "ColorBody", BrickColor.new("Bright red"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, false, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 5), Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(2.60000014, 5.80000019, -1.50000012, 0.939373076, 0.342896551, -1.73811223e-008, -0.342896461, 0.939373136, -1.12049747e-008, 1.24844632e-008, 1.64866378e-008, 1), {"SpecialMesh", "Mesh", "", Enum.MeshType.Brick, Vector3.new(0, 0, 0), Vector3.new(1.39999998, 1, 1), "", Vector3.new(1, 1, 1)}},
| |
| 184 | - | |
| 184 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-2.5, 4.4000001, -5.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)},
|
| 185 | - | local len1 = (c-a):Dot((b-a).unit) |
| 185 | + | {"Part", "Body", BrickColor.new("Dark stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Plate, Enum.PartType.Block, Vector3.new(1, 0.400000006, 3), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(-0.5, 4.5, -7.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
|
| 186 | - | local len2 = (b-a).magnitude - len1 |
| 186 | + | {"Part", "Body", BrickColor.new("Medium stone grey"), Enum.Material.SmoothPlastic, 0.050000000745058, 0, true, Enum.FormFactor.Symmetric, Enum.PartType.Cylinder, Vector3.new(1, 1, 1), Enum.SurfaceType.Smooth, Enum.SurfaceType.Weld, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth, CFrame.new(1.5, 4.4000001, -7.0999999, -0, -0, 1, -1, -0, 0, -0, -1, 0)}
|
| 187 | - | local width = (a + (b-a).unit*len1 - c).magnitude |
| 187 | + | } |
| 188 | - | |
| 188 | + | |
| 189 | - | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 189 | + | color = "Read" |
| 190 | - | |
| 190 | + | |
| 191 | - | local list = {}
|
| 191 | + | if game.Workspace:findFirstChild(color .. " Ferrari") then |
| 192 | - | |
| 192 | + | game.Workspace[color .. " Ferrari"]:Destroy() |
| 193 | - | local TrailColor = ("Dark grey")
|
| 193 | + | |
| 194 | - | |
| 194 | + | |
| 195 | - | if len1 > 0.01 then |
| 195 | + | model = Instance.new("Model")
|
| 196 | - | local w1 = Instance.new('WedgePart', m)
|
| 196 | + | |
| 197 | - | game:GetService("Debris"):AddItem(w1,5)
|
| 197 | + | for p = 1, #props do |
| 198 | - | w1.Material = "SmoothPlastic" |
| 198 | + | part = Instance.new(props[p][1], model) |
| 199 | - | w1.FormFactor = 'Custom' |
| 199 | + | part.Anchored = true |
| 200 | - | w1.BrickColor = BrickColor.new(TrailColor) |
| 200 | + | part.Locked = true |
| 201 | - | w1.Transparency = 0 |
| 201 | + | if props[p][1] == "Part" then |
| 202 | - | w1.Reflectance = 0 |
| 202 | + | brick = {"Part", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "FormFactor", "Shape", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 203 | - | w1.Material = "SmoothPlastic" |
| 203 | + | elseif props[p][1] == "WedgePart" then |
| 204 | - | w1.CanCollide = false |
| 204 | + | brick = {"WedgePart", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "FormFactor", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 205 | - | NoOutline(w1) |
| 205 | + | elseif props[p][1] == "CornerWedgePart" then |
| 206 | - | local sz = Vector3.new(0.2, width, len1) |
| 206 | + | brick = {"CornerWedgePart", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 207 | - | w1.Size = sz |
| 207 | + | elseif props[p][1] == "TrussPart" then |
| 208 | - | local sp = Instance.new("SpecialMesh",w1)
|
| 208 | + | brick = {"TrussPart", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "Size", "Style", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 209 | - | sp.MeshType = "Wedge" |
| 209 | + | elseif props[p][1] == "Seat" then |
| 210 | - | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 210 | + | brick = {"Seat", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "Disabled", "FormFactor", "Shape", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 211 | - | w1:BreakJoints() |
| 211 | + | elseif props[p][1] == "VehicleSeat" then |
| 212 | - | w1.Anchored = true |
| 212 | + | brick = {"VehicleSeat", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "Disabled", "HeadsUpDisplay", "MaxSpeed", "Torque", "TurnSpeed", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 213 | - | w1.Parent = workspace |
| 213 | + | elseif props[p][1] == "SkatboardPlatform" then |
| 214 | - | w1.Transparency = 0.7 |
| 214 | + | brick = {"SkateboardPatform", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "StickyWheels", "FormFactor", "Shape", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 215 | - | table.insert(Effects,{w1,"Disappear",.01})
|
| 215 | + | elseif props[p][1] == "SpawnLocation" then |
| 216 | - | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 216 | + | brick = {"SpawnLocation", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "AllowTeamChangeOnTouch", "Neutral", "TeamColor", "Duration", "FormFactor", "Shape", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
|
| 217 | - | table.insert(list,w1) |
| 217 | + | elseif props[p][1] == "FlagStand" then |
| 218 | brick = {"FlagStand", "Name", "BrickColor", "Material", "Reflectance", "Transparency", "CanCollide", "TeamColor", "FormFactor", "Shape", "Size", "BackSurface", "BottomSurface", "FrontSurface", "LeftSurface", "RightSurface", "TopSurface", "CFrame"}
| |
| 219 | - | |
| 219 | + | |
| 220 | - | if len2 > 0.01 then |
| 220 | + | for b = 2, #props[p] do |
| 221 | - | local w2 = Instance.new('WedgePart', m)
|
| 221 | + | prop = props[p][b] |
| 222 | - | game:GetService("Debris"):AddItem(w2,5)
|
| 222 | + | proptype = type(prop) |
| 223 | - | w2.Material = "SmoothPlastic" |
| 223 | + | if proptype ~= "table" then |
| 224 | - | w2.FormFactor = 'Custom' |
| 224 | + | part[(brick[b])] = prop |
| 225 | - | w2.BrickColor = BrickColor.new(TrailColor) |
| 225 | + | else |
| 226 | - | w2.Transparency = 0 |
| 226 | + | equip = Instance.new(props[p][b][1], part) |
| 227 | - | w2.Reflectance = 0 |
| 227 | + | if props[p][b][1] == "Decal" then |
| 228 | - | w2.Material = "SmoothPlastic" |
| 228 | + | brickequip = {"Decal", "Name", "Shiny", "Specular", "Texture", "Transparency", "Face"}
|
| 229 | - | w2.CanCollide = false |
| 229 | + | elseif props[p][b][1] == "Texture" then |
| 230 | - | NoOutline(w2) |
| 230 | + | brickequip = {"Texture", "Name", "Shiny", "Specular", "StudsPerTileU", "StudsPerTileV", "Texture", "Transparency", "Face"}
|
| 231 | - | local sz = Vector3.new(0.2, width, len2) |
| 231 | + | elseif props[p][b][1] == "Fire" then |
| 232 | - | w2.Size = sz |
| 232 | + | brickequip = {"Fire", "Name", "Color", "Enabled", "Heat", "SecondaryColor", "Size"}
|
| 233 | - | local sp = Instance.new("SpecialMesh",w2)
|
| 233 | + | elseif props[p][b][1] == "Smoke" then |
| 234 | - | sp.MeshType = "Wedge" |
| 234 | + | brickequip = {"Smoke", "Name", "Color", "Enabled", "Opacity", "RiseVelocity", "Size"}
|
| 235 | - | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 235 | + | elseif props[p][b][1] == "Sparkles" then |
| 236 | - | w2:BreakJoints() |
| 236 | + | brickequip = {"Sparkles", "Name", "Enabled", "SparkleColor"}
|
| 237 | - | w2.Anchored = true |
| 237 | + | elseif props[p][b][1] == "BlockMesh" then |
| 238 | - | w2.Parent = workspace |
| 238 | + | brickequip = {"BlockMesh", "Name", "Offset", "Scale", "VertexColor"}
|
| 239 | - | w2.Transparency = 0.7 |
| 239 | + | elseif props[p][b][1] == "CylinderMesh" then |
| 240 | - | table.insert(Effects,{w2,"Disappear",.01})
|
| 240 | + | brickequip = {"CylinderMesh", "Name", "Offset", "Scale", "VertexColor"}
|
| 241 | - | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 241 | + | elseif props[p][b][1] == "SpecialMesh" then |
| 242 | - | table.insert(list,w2) |
| 242 | + | brickequip = {"SpecialMesh", "Name", "MeshId", "MeshType", "Offset", "Scale", "TextureId", "VertexColor"}
|
| 243 | end | |
| 244 | - | return unpack(list) |
| 244 | + | for e = 2, #brickequip do |
| 245 | equip[(brickequip[e])] = props[p][b][e] | |
| 246 | - | |
| 246 | + | |
| 247 | - | |
| 247 | + | |
| 248 | - | so = function(id,par,vol,pit) |
| 248 | + | |
| 249 | - | coroutine.resume(coroutine.create(function() |
| 249 | + | |
| 250 | - | local sou = Instance.new("Sound",par or workspace)
|
| 250 | + | |
| 251 | - | sou.Volume=vol |
| 251 | + | ferrarimodel = Instance.new("Model")
|
| 252 | - | sou.Pitch=pit or 1 |
| 252 | + | ferrarimodel.Name = color .. " Ferrari" |
| 253 | - | sou.SoundId=id |
| 253 | + | bodymodel = Instance.new("Model", ferrarimodel)
|
| 254 | - | swait() |
| 254 | + | bodymodel.Name = "Body" |
| 255 | - | sou:play() |
| 255 | + | wheel1model = Instance.new("Model", ferrarimodel)
|
| 256 | - | game:GetService("Debris"):AddItem(sou,6)
|
| 256 | + | wheel1model.Name = "Wheel1" |
| 257 | - | end)) |
| 257 | + | wheel2model = Instance.new("Model", ferrarimodel)
|
| 258 | wheel2model.Name = "Wheel2" | |
| 259 | - | |
| 259 | + | wheel3model = Instance.new("Model", ferrarimodel)
|
| 260 | - | function clerp(a,b,t) |
| 260 | + | wheel3model.Name = "Wheel3" |
| 261 | - | local qa = {QuaternionFromCFrame(a)}
|
| 261 | + | wheel4model = Instance.new("Model", ferrarimodel)
|
| 262 | - | local qb = {QuaternionFromCFrame(b)}
|
| 262 | + | wheel4model.Name = "Wheel4" |
| 263 | - | local ax, ay, az = a.x, a.y, a.z |
| 263 | + | |
| 264 | - | local bx, by, bz = b.x, b.y, b.z |
| 264 | + | parts = model:GetChildren() |
| 265 | - | local _t = 1-t |
| 265 | + | for p = 1, #parts do |
| 266 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 266 | + | if parts[p].Name == "Body" or parts[p].Name == "ColorBody" or parts[p].Name == "BodyMain" or parts[p].Name == "BodyBottom" or parts[p].Name == "Seat" or parts[p].Name == "DriverSeat" or parts[p].Name == "BodyMain" then |
| 267 | parts[p].Parent = bodymodel | |
| 268 | - | |
| 268 | + | elseif parts[p].Name == "Wheel1" or parts[p].Name == "Wheel1Main" then |
| 269 | - | function QuaternionFromCFrame(cf) |
| 269 | + | parts[p].Parent = wheel1model |
| 270 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 270 | + | elseif parts[p].Name == "Wheel2" or parts[p].Name == "Wheel2Main" then |
| 271 | - | local trace = m00 + m11 + m22 |
| 271 | + | parts[p].Parent = wheel2model |
| 272 | - | if trace > 0 then |
| 272 | + | elseif parts[p].Name == "Wheel3" or parts[p].Name == "Wheel3Main" then |
| 273 | - | local s = math.sqrt(1 + trace) |
| 273 | + | parts[p].Parent = wheel3model |
| 274 | - | local recip = 0.5/s |
| 274 | + | elseif parts[p].Name == "Wheel4" or parts[p].Name == "Wheel4Main" then |
| 275 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 275 | + | parts[p].Parent = wheel4model |
| 276 | - | else |
| 276 | + | |
| 277 | - | local i = 0 |
| 277 | + | |
| 278 | - | if m11 > m00 then |
| 278 | + | |
| 279 | - | i = 1 |
| 279 | + | function weld(x, y)--I would give credit to whoever made this function, but it was copied so many times, I don't even know who it was. |
| 280 | joint = Instance.new("Weld")
| |
| 281 | - | if m22 > (i == 0 and m00 or m11) then |
| 281 | + | joint.Part0 = x |
| 282 | - | i = 2 |
| 282 | + | joint.Part1 = y |
| 283 | local HitPos = x.Position | |
| 284 | - | if i == 0 then |
| 284 | + | local CJ = CFrame.new(HitPos) |
| 285 | - | local s = math.sqrt(m00-m11-m22+1) |
| 285 | + | local C0 = x.CFrame:inverse() * CJ |
| 286 | - | local recip = 0.5/s |
| 286 | + | local C1 = y.CFrame:inverse() * CJ |
| 287 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 287 | + | joint.C0 = C0 |
| 288 | - | elseif i == 1 then |
| 288 | + | joint.C1 = C1 |
| 289 | - | local s = math.sqrt(m11-m22-m00+1) |
| 289 | + | joint.Parent = x |
| 290 | - | local recip = 0.5/s |
| 290 | + | return joint |
| 291 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 291 | + | |
| 292 | - | elseif i == 2 then |
| 292 | + | |
| 293 | - | local s = math.sqrt(m22-m00-m11+1) |
| 293 | + | parts = bodymodel:GetChildren() |
| 294 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 294 | + | for p = 1, #parts do |
| 295 | if parts[p].Name == "Body" or parts[p].Name == "ColorBody" or parts[p].Name == "BodyMain" or parts[p].Name == "BodyBottom" or parts[p].Name == "Seat" or parts[p].Name == "DriverSeat" then | |
| 296 | weld(parts[p], bodymodel.BodyMain) | |
| 297 | parts[p].Anchored = false | |
| 298 | - | |
| 298 | + | |
| 299 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 299 | + | if parts[p].Name == "ColorBody" or parts[p].Name == "BodyMain" or parts[p].Name == "BodyBottom" then |
| 300 | - | local xs, ys, zs = x + x, y + y, z + z |
| 300 | + | parts[p].BrickColor = BrickColor.new(color) |
| 301 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
| 301 | + | |
| 302 | - | local xx = x*xs |
| 302 | + | |
| 303 | - | local xy = x*ys |
| 303 | + | |
| 304 | - | local xz = x*zs |
| 304 | + | parts = wheel1model:GetChildren() |
| 305 | - | local yy = y*ys |
| 305 | + | for p = 1, #parts do |
| 306 | - | local yz = y*zs |
| 306 | + | if parts[p].Name == "Wheel1" then |
| 307 | - | local zz = z*zs |
| 307 | + | weld(parts[p], wheel1model.Wheel1Main) |
| 308 | - | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
| 308 | + | parts[p].Anchored = false |
| 309 | end | |
| 310 | - | |
| 310 | + | |
| 311 | - | function QuaternionSlerp(a, b, t) |
| 311 | + | |
| 312 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 312 | + | parts = wheel2model:GetChildren() |
| 313 | - | local startInterp, finishInterp; |
| 313 | + | for p = 1, #parts do |
| 314 | - | if cosTheta >= 0.0001 then |
| 314 | + | if parts[p].Name == "Wheel2" then |
| 315 | - | if (1 - cosTheta) > 0.0001 then |
| 315 | + | weld(parts[p], wheel2model.Wheel2Main) |
| 316 | - | local theta = math.acos(cosTheta) |
| 316 | + | parts[p].Anchored = false |
| 317 | - | local invSinTheta = 1/math.sin(theta) |
| 317 | + | |
| 318 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 318 | + | |
| 319 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 319 | + | |
| 320 | - | else |
| 320 | + | parts = wheel3model:GetChildren() |
| 321 | - | startInterp = 1-t |
| 321 | + | for p = 1, #parts do |
| 322 | - | finishInterp = t |
| 322 | + | if parts[p].Name == "Wheel3" then |
| 323 | weld(parts[p], wheel3model.Wheel3Main) | |
| 324 | - | else |
| 324 | + | parts[p].Anchored = false |
| 325 | - | if (1+cosTheta) > 0.0001 then |
| 325 | + | |
| 326 | - | local theta = math.acos(-cosTheta) |
| 326 | + | |
| 327 | - | local invSinTheta = 1/math.sin(theta) |
| 327 | + | |
| 328 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 328 | + | parts = wheel4model:GetChildren() |
| 329 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 329 | + | for p = 1, #parts do |
| 330 | - | else |
| 330 | + | if parts[p].Name == "Wheel4" then |
| 331 | - | startInterp = t-1 |
| 331 | + | weld(parts[p], wheel4model.Wheel4Main) |
| 332 | - | finishInterp = t |
| 332 | + | parts[p].Anchored = false |
| 333 | end | |
| 334 | end | |
| 335 | - | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
| 335 | + | |
| 336 | axle1 = weld(wheel1model.Wheel1Main, bodymodel.BodyMain, true) | |
| 337 | - | |
| 337 | + | wheel1model.Wheel1Main.Anchored = false |
| 338 | - | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
| 338 | + | |
| 339 | - | |
| 339 | + | axle2 = weld(wheel2model.Wheel2Main, bodymodel.BodyMain, true) |
| 340 | - | |
| 340 | + | wheel2model.Wheel2Main.Anchored = false |
| 341 | - | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 341 | + | |
| 342 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 342 | + | axle3 = weld(wheel3model.Wheel3Main, bodymodel.BodyMain, true) |
| 343 | wheel3model.Wheel3Main.Anchored = false | |
| 344 | - | |
| 344 | + | |
| 345 | - | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
| 345 | + | axle4 = weld(wheel4model.Wheel4Main, bodymodel.BodyMain, true) |
| 346 | - | if hit.Parent==nil then |
| 346 | + | wheel4model.Wheel4Main.Anchored = false |
| 347 | - | return |
| 347 | + | |
| 348 | speed = Instance.new("BodyVelocity", bodymodel.BodyMain)
| |
| 349 | - | h=hit.Parent:FindFirstChild("Humanoid")
|
| 349 | + | speed.maxForce = Vector3.new(math.huge, 0, math.huge) |
| 350 | - | for _,v in pairs(hit.Parent:children()) do |
| 350 | + | speed.velocity = Vector3.new(0, 0, 0) |
| 351 | - | if v:IsA("Humanoid") then
|
| 351 | + | |
| 352 | - | h=v |
| 352 | + | direction = Instance.new("BodyGyro", bodymodel.BodyMain)
|
| 353 | direction.maxTorque = Vector3.new(0, math.huge, 0) | |
| 354 | direction.cframe = bodymodel.BodyMain.CFrame | |
| 355 | - | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
|
| 355 | + | |
| 356 | - | h=hit.Parent.Parent:FindFirstChild("Humanoid")
|
| 356 | + | bodymodel.BodyMain.Anchored = false |
| 357 | ||
| 358 | - | if hit.Parent.className=="Hat" then |
| 358 | + | ferrarimodel.Parent = game.Workspace |
| 359 | - | hit=hit.Parent.Parent:findFirstChild("Head")
|
| 359 | + | |
| 360 | ferrarimodel:MoveTo(Vector3.new(0, 0, 0)) | |
| 361 | - | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 361 | + | |
| 362 | - | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
|
| 362 | + | bodymodel.DriverSeat.ChildAdded:connect(function(seat) |
| 363 | - | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 363 | + | if seat.Name == "SeatWeld" then |
| 364 | - | return |
| 364 | + | driving = true |
| 365 | - | end]] |
| 365 | + | |
| 366 | - | -- hs(hit,1.2) |
| 366 | + | |
| 367 | - | c=Instance.new("ObjectValue")
|
| 367 | + | |
| 368 | - | c.Name="creator" |
| 368 | + | bodymodel.DriverSeat.ChildRemoved:connect(function(seat) |
| 369 | - | c.Value=game:service("Players").LocalPlayer
|
| 369 | + | if seat.Name == "SeatWeld" then |
| 370 | - | c.Parent=h |
| 370 | + | driving = false |
| 371 | - | game:GetService("Debris"):AddItem(c,.5)
|
| 371 | + | |
| 372 | - | Damage=math.random(minim,maxim) |
| 372 | + | |
| 373 | - | -- h:TakeDamage(Damage) |
| 373 | + | |
| 374 | - | blocked=false |
| 374 | + | acceleration = 0 |
| 375 | - | block=hit.Parent:findFirstChild("Block")
|
| 375 | + | |
| 376 | - | if block~=nil then |
| 376 | + | turn = 0 |
| 377 | - | print(block.className) |
| 377 | + | |
| 378 | - | if block.className=="NumberValue" then |
| 378 | + | while wait() do |
| 379 | - | if block.Value>0 then |
| 379 | + | if driving then |
| 380 | - | blocked=true |
| 380 | + | if bodymodel.BodyBottom.CFrame.lookVector.y > 0.707 then |
| 381 | - | if decreaseblock==nil then |
| 381 | + | direction.maxTorque = Vector3.new(0, math.huge, 0) |
| 382 | - | block.Value=block.Value-1 |
| 382 | + | speed.maxForce = Vector3.new(math.huge, 0, math.huge) |
| 383 | throttle = bodymodel.DriverSeat.Throttle | |
| 384 | steer = bodymodel.DriverSeat.Steer | |
| 385 | if throttle == 1 then | |
| 386 | - | if block.className=="IntValue" then |
| 386 | + | if acceleration > -200 then |
| 387 | - | if block.Value>0 then |
| 387 | + | acceleration = acceleration - 10 |
| 388 | - | blocked=true |
| 388 | + | |
| 389 | - | if decreaseblock~=nil then |
| 389 | + | axle1.C0 = axle1.C0 * CFrame.Angles(math.pi / -16, 0, 0) |
| 390 | - | block.Value=block.Value-1 |
| 390 | + | axle2.C0 = axle2.C0 * CFrame.Angles(math.pi / -16, 0, 0) |
| 391 | axle3.C0 = axle3.C0 * CFrame.Angles(math.pi / -16, 0, 0) | |
| 392 | axle4.C0 = axle4.C0 * CFrame.Angles(math.pi / -16, 0, 0) | |
| 393 | speed.velocity = direction.cframe.lookVector.unit * acceleration | |
| 394 | if steer == 1 then | |
| 395 | - | if blocked==false then |
| 395 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / -64, 0) |
| 396 | - | -- h:TakeDamage(Damage) |
| 396 | + | elseif steer == -1 then |
| 397 | - | h.Health=h.Health-Damage |
| 397 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / 64, 0) |
| 398 | - | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
|
| 398 | + | |
| 399 | - | else |
| 399 | + | elseif throttle == -1 then |
| 400 | - | h.Health=h.Health-(Damage/2) |
| 400 | + | if acceleration < 100 then |
| 401 | - | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
|
| 401 | + | acceleration = acceleration + 10 |
| 402 | end | |
| 403 | - | if Type=="Knockdown" then |
| 403 | + | axle1.C0 = axle1.C0 * CFrame.Angles(math.pi / 16, 0, 0) |
| 404 | - | hum=hit.Parent.Humanoid |
| 404 | + | axle2.C0 = axle2.C0 * CFrame.Angles(math.pi / 16, 0, 0) |
| 405 | - | hum.PlatformStand=true |
| 405 | + | axle3.C0 = axle3.C0 * CFrame.Angles(math.pi / 16, 0, 0) |
| 406 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 406 | + | axle4.C0 = axle4.C0 * CFrame.Angles(math.pi / 16, 0, 0) |
| 407 | - | swait(1) |
| 407 | + | speed.velocity = direction.cframe.lookVector.unit * acceleration |
| 408 | - | HHumanoid.PlatformStand=false |
| 408 | + | if steer == 1 then |
| 409 | - | end),hum) |
| 409 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / 64, 0) |
| 410 | - | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
| 410 | + | elseif steer == -1 then |
| 411 | - | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
| 411 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / -64, 0) |
| 412 | - | local bodvol=Instance.new("BodyVelocity")
|
| 412 | + | |
| 413 | - | bodvol.velocity=angle*knockback |
| 413 | + | else |
| 414 | - | bodvol.P=5000 |
| 414 | + | if acceleration < 0 then |
| 415 | - | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 415 | + | acceleration = acceleration + 10 |
| 416 | - | bodvol.Parent=hit |
| 416 | + | if steer == 1 then |
| 417 | - | rl=Instance.new("BodyAngularVelocity")
|
| 417 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / 64, 0) |
| 418 | - | rl.P=3000 |
| 418 | + | elseif steer == -1 then |
| 419 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 419 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / -64, 0) |
| 420 | - | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
| 420 | + | end |
| 421 | - | rl.Parent=hit |
| 421 | + | elseif acceleration > 0 then |
| 422 | - | game:GetService("Debris"):AddItem(bodvol,.5)
|
| 422 | + | acceleration = acceleration - 10 |
| 423 | - | game:GetService("Debris"):AddItem(rl,.5)
|
| 423 | + | if steer == 1 then |
| 424 | - | elseif Type=="Normal" then |
| 424 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / -64, 0) |
| 425 | - | vp=Instance.new("BodyVelocity")
|
| 425 | + | elseif steer == -1 then |
| 426 | - | vp.P=500 |
| 426 | + | direction.cframe = direction.cframe * CFrame.Angles(0, math.pi / 64, 0) |
| 427 | - | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
| 427 | + | end |
| 428 | - | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
| 428 | + | |
| 429 | - | if KnockbackType==1 then |
| 429 | + | speed.velocity = direction.cframe.lookVector.unit * acceleration |
| 430 | - | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
| 430 | + | |
| 431 | - | elseif KnockbackType==2 then |
| 431 | + | if steer == 1 and turn < 1 then |
| 432 | - | vp.velocity=Property.CFrame.lookVector*knockback |
| 432 | + | turn = turn + 1 |
| 433 | axle1.C1 = axle1.C1 * CFrame.Angles(0, math.pi / -8, 0) | |
| 434 | - | if knockback>0 then |
| 434 | + | axle2.C1 = axle2.C1 * CFrame.Angles(0, math.pi / -8, 0) |
| 435 | - | vp.Parent=hit.Parent.Torso |
| 435 | + | elseif steer == -1 and turn > -1 then |
| 436 | turn = turn - 1 | |
| 437 | - | game:GetService("Debris"):AddItem(vp,.5)
|
| 437 | + | axle1.C1 = axle1.C1 * CFrame.Angles(0, math.pi / 8, 0) |
| 438 | - | elseif Type=="Up" then |
| 438 | + | axle2.C1 = axle2.C1 * CFrame.Angles(0, math.pi / 8, 0) |
| 439 | - | local bodyVelocity=Instance.new("BodyVelocity")
|
| 439 | + | elseif steer == 0 then |
| 440 | - | bodyVelocity.velocity=vt(0,60,0) |
| 440 | + | if turn > 0 then |
| 441 | - | bodyVelocity.P=5000 |
| 441 | + | turn = turn - 1 |
| 442 | - | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 442 | + | axle1.C1 = axle1.C1 * CFrame.Angles(0, math.pi / 8, 0) |
| 443 | - | bodyVelocity.Parent=hit |
| 443 | + | axle2.C1 = axle2.C1 * CFrame.Angles(0, math.pi / 8, 0) |
| 444 | - | game:GetService("Debris"):AddItem(bodyVelocity,1)
|
| 444 | + | elseif turn < 0 then |
| 445 | - | rl=Instance.new("BodyAngularVelocity")
|
| 445 | + | turn = turn + 1 |
| 446 | - | rl.P=3000 |
| 446 | + | axle1.C1 = axle1.C1 * CFrame.Angles(0, math.pi / -8, 0) |
| 447 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 447 | + | axle2.C1 = axle2.C1 * CFrame.Angles(0, math.pi / -8, 0) |
| 448 | - | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
| 448 | + | |
| 449 | - | rl.Parent=hit |
| 449 | + | |
| 450 | - | game:GetService("Debris"):AddItem(rl,.5)
|
| 450 | + | else |
| 451 | - | elseif Type=="Snare" then |
| 451 | + | speed.maxForce = Vector3.new(0, 0, 0) |
| 452 | - | bp=Instance.new("BodyPosition")
|
| 452 | + | wait(2) |
| 453 | - | bp.P=2000 |
| 453 | + | direction.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
| 454 | - | bp.D=100 |
| 454 | + | |
| 455 | - | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 455 | + | |
| 456 | - | bp.position=hit.Parent.Torso.Position |
| 456 | + | speed.maxForce = Vector3.new(0, 0, 0) |
| 457 | - | bp.Parent=hit.Parent.Torso |
| 457 | + | direction.maxTorque = Vector3.new(0, 0, 0) |
| 458 | - | game:GetService("Debris"):AddItem(bp,1)
|
| 458 | + | |
| 459 | - | elseif Type=="Target" then |
| 459 | + |