SHOW:
|
|
- or go back to the newest paste.
| 1 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 1 | + | |
| 2 | - | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 2 | + | --Converted with ttyyuu12345's model to script plugin v4 |
| 3 | - | do |
| 3 | + | function sandbox(var,func) |
| 4 | - | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
|
| 4 | + | local env = getfenv(func) |
| 5 | - | script.Parent = Player.Character |
| 5 | + | local newenv = setmetatable({},{
|
| 6 | __index = function(self,k) | |
| 7 | - | --RemoteEvent for communicating |
| 7 | + | if k=="script" then |
| 8 | - | local Event = Instance.new("RemoteEvent")
|
| 8 | + | return var |
| 9 | - | Event.Name = "UserInput_Event" |
| 9 | + | else |
| 10 | return env[k] | |
| 11 | - | --Fake event to make stuff like Mouse.KeyDown work |
| 11 | + | |
| 12 | - | local function fakeEvent() |
| 12 | + | end, |
| 13 | - | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 13 | + | }) |
| 14 | - | t.connect = t.Connect |
| 14 | + | setfenv(func,newenv) |
| 15 | - | return t |
| 15 | + | return func |
| 16 | - | end |
| 16 | + | |
| 17 | cors = {}
| |
| 18 | - | --Creating fake input objects with fake variables |
| 18 | + | mas = Instance.new("Model",game:GetService("Lighting"))
|
| 19 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 19 | + | Model0 = Instance.new("Model")
|
| 20 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 20 | + | Part1 = Instance.new("Part")
|
| 21 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
|
| 21 | + | Part2 = Instance.new("Part")
|
| 22 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 22 | + | Part3 = Instance.new("Part")
|
| 23 | - | end} |
| 23 | + | Part4 = Instance.new("Part")
|
| 24 | - | --Merged 2 functions into one by checking amount of arguments |
| 24 | + | Part5 = Instance.new("Part")
|
| 25 | - | CAS.UnbindAction = CAS.BindAction |
| 25 | + | Part6 = Instance.new("Part")
|
| 26 | Part7 = Instance.new("Part")
| |
| 27 | - | --This function will trigger the events that have been :Connect()'ed |
| 27 | + | Part8 = Instance.new("Part")
|
| 28 | - | local function te(self,ev,...) |
| 28 | + | Part9 = Instance.new("Part")
|
| 29 | - | local t = m[ev] |
| 29 | + | Part10 = Instance.new("Part")
|
| 30 | - | if t and t._fakeEvent and t.Function then |
| 30 | + | WedgePart11 = Instance.new("WedgePart")
|
| 31 | - | t.Function(...) |
| 31 | + | WedgePart12 = Instance.new("WedgePart")
|
| 32 | - | end |
| 32 | + | Part13 = Instance.new("Part")
|
| 33 | - | end |
| 33 | + | Part14 = Instance.new("Part")
|
| 34 | - | m.TrigEvent = te |
| 34 | + | Part15 = Instance.new("Part")
|
| 35 | - | UIS.TrigEvent = te |
| 35 | + | WedgePart16 = Instance.new("WedgePart")
|
| 36 | Part17 = Instance.new("Part")
| |
| 37 | - | Event.OnServerEvent:Connect(function(plr,io) |
| 37 | + | Part18 = Instance.new("Part")
|
| 38 | - | if plr~=Player then return end |
| 38 | + | Part19 = Instance.new("Part")
|
| 39 | - | if io.isMouse then |
| 39 | + | Part20 = Instance.new("Part")
|
| 40 | - | m.Target = io.Target |
| 40 | + | Part21 = Instance.new("Part")
|
| 41 | - | m.Hit = io.Hit |
| 41 | + | Part22 = Instance.new("Part")
|
| 42 | - | else |
| 42 | + | Part23 = Instance.new("Part")
|
| 43 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
| 43 | + | Part24 = Instance.new("Part")
|
| 44 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 44 | + | Part25 = Instance.new("Part")
|
| 45 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
| 45 | + | SurfaceGui26 = Instance.new("SurfaceGui")
|
| 46 | TextLabel27 = Instance.new("TextLabel")
| |
| 47 | - | for _,t in pairs(CAS.Actions) do |
| 47 | + | Part28 = Instance.new("Part")
|
| 48 | - | for _,k in pairs(t.Keys) do |
| 48 | + | Part29 = Instance.new("Part")
|
| 49 | - | if k==io.KeyCode then |
| 49 | + | SpawnLocation30 = Instance.new("SpawnLocation")
|
| 50 | - | t.Function(t.Name,io.UserInputState,io) |
| 50 | + | Decal31 = Instance.new("Decal")
|
| 51 | - | end |
| 51 | + | Part32 = Instance.new("Part")
|
| 52 | - | end |
| 52 | + | Part33 = Instance.new("Part")
|
| 53 | Model0.Name = "Course" | |
| 54 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
| 54 | + | Model0.Parent = mas |
| 55 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 55 | + | Part1.Parent = Model0 |
| 56 | - | end |
| 56 | + | Part1.CFrame = CFrame.new(-27.8266373, 189.020813, 132, 0.984807789, -0.173647955, 0, 0.173647955, 0.984807789, 0, 0, 0, 1) |
| 57 | Part1.Orientation = Vector3.new(0, 0, 10) | |
| 58 | - | Event.Parent = NLS([==[ |
| 58 | + | Part1.Position = Vector3.new(-27.8266373, 189.020813, 132) |
| 59 | - | local Player = game:GetService("Players").LocalPlayer
|
| 59 | + | Part1.Rotation = Vector3.new(0, 0, 10) |
| 60 | - | local Event = script:WaitForChild("UserInput_Event")
|
| 60 | + | Part1.Size = Vector3.new(57, 1, 12) |
| 61 | Part1.Anchored = true | |
| 62 | - | local UIS = game:GetService("UserInputService")
|
| 62 | + | Part1.BottomSurface = Enum.SurfaceType.Smooth |
| 63 | - | local input = function(io,a) |
| 63 | + | Part1.TopSurface = Enum.SurfaceType.Smooth |
| 64 | - | if a then return end |
| 64 | + | Part2.Parent = Model0 |
| 65 | - | --Since InputObject is a client-side instance, we create and pass table instead |
| 65 | + | Part2.CFrame = CFrame.new(-39.1221962, 192.613953, 124.5, 0.984807789, -0.173647955, 0, 0.173647955, 0.984807789, 0, 0, 0, 1) |
| 66 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
|
| 66 | + | Part2.Orientation = Vector3.new(0, 0, 10) |
| 67 | - | end |
| 67 | + | Part2.Position = Vector3.new(-39.1221962, 192.613953, 124.5) |
| 68 | - | UIS.InputBegan:Connect(input) |
| 68 | + | Part2.Rotation = Vector3.new(0, 0, 10) |
| 69 | - | UIS.InputEnded:Connect(input) |
| 69 | + | Part2.Size = Vector3.new(78, 12, 1) |
| 70 | Part2.Anchored = true | |
| 71 | - | local Mouse = Player:GetMouse() |
| 71 | + | Part2.BottomSurface = Enum.SurfaceType.Smooth |
| 72 | - | local h,t |
| 72 | + | Part2.TopSurface = Enum.SurfaceType.Smooth |
| 73 | - | --Give the server mouse data 60 times every second, but only if the values changed |
| 73 | + | Part3.Parent = Model0 |
| 74 | - | --If player is not moving their mouse, client won't fire events |
| 74 | + | Part3.CFrame = CFrame.new(-85, 121.719788, 33.4421425, 1, 0, 0, 0, 0.573575675, 0.819152594, 0, -0.819152594, 0.573575675) |
| 75 | - | while wait(1/60) do |
| 75 | + | Part3.Orientation = Vector3.new(-55, 0, 0) |
| 76 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
| 76 | + | Part3.Position = Vector3.new(-85, 121.719788, 33.4421425) |
| 77 | - | h,t=Mouse.Hit,Mouse.Target |
| 77 | + | Part3.Rotation = Vector3.new(-55, 0, 0) |
| 78 | - | Event:FireServer({isMouse=true,Target=t,Hit=h})
|
| 78 | + | Part3.Size = Vector3.new(8, 1, 87) |
| 79 | - | end |
| 79 | + | Part3.Anchored = true |
| 80 | - | end]==],Player.Character) |
| 80 | + | Part3.BottomSurface = Enum.SurfaceType.Smooth |
| 81 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 81 | + | Part3.Material = Enum.Material.SmoothPlastic |
| 82 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
| 83 | Part4.Parent = Model0 | |
| 84 | - | --By iiJoeCats |
| 84 | + | Part4.CFrame = CFrame.new(-73, 170.607361, 146, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 85 | - | --Some sources could be copied or stolen from other devs. I gave credit to them. |
| 85 | + | Part4.Position = Vector3.new(-73, 170.607361, 146) |
| 86 | Part4.Size = Vector3.new(36, 28, 2) | |
| 87 | - | print([[ |
| 87 | + | Part4.Anchored = true |
| 88 | - | |
| 88 | + | Part4.BottomSurface = Enum.SurfaceType.Smooth |
| 89 | - | -- The Random Powers by iiJoeCats (DEMO) |
| 89 | + | Part4.TopSurface = Enum.SurfaceType.Smooth |
| 90 | Part5.Parent = Model0 | |
| 91 | - | KEYBINDS: |
| 91 | + | Part5.CFrame = CFrame.new(-84.5, 127.358093, 25.5893326, 1, 0, 0, 0, 0.573575675, 0.819152594, 0, -0.819152594, 0.573575675) |
| 92 | - | |
| 92 | + | Part5.Orientation = Vector3.new(-55, 0, 0) |
| 93 | - | //Main Keybinds |
| 93 | + | Part5.Position = Vector3.new(-84.5, 127.358093, 25.5893326) |
| 94 | - | [Q] - Fireball |
| 94 | + | Part5.Rotation = Vector3.new(-55, 0, 0) |
| 95 | - | [E] - Stomp |
| 95 | + | Part5.Size = Vector3.new(9, 1, 87) |
| 96 | - | [R] - Acid Rain |
| 96 | + | Part5.Anchored = true |
| 97 | - | [T] - T-Pose Taunt |
| 97 | + | Part5.BottomSurface = Enum.SurfaceType.Smooth |
| 98 | - | [Y] - Tele Hacks |
| 98 | + | Part5.Material = Enum.Material.SmoothPlastic |
| 99 | - | [U] - Bomb |
| 99 | + | Part5.TopSurface = Enum.SurfaceType.Smooth |
| 100 | - | |
| 100 | + | Part6.Parent = Model0 |
| 101 | - | //Music Keybinds |
| 101 | + | Part6.CFrame = CFrame.new(-89.5, 124.587677, 29.3464108, 1, 0, 0, 0, 0.573575675, 0.819152594, 0, -0.819152594, 0.573575675) |
| 102 | - | [N] - Toggle Music |
| 102 | + | Part6.Orientation = Vector3.new(-55, 0, 0) |
| 103 | - | [M] - Change Music |
| 103 | + | Part6.Position = Vector3.new(-89.5, 124.587677, 29.3464108) |
| 104 | Part6.Rotation = Vector3.new(-55, 0, 0) | |
| 105 | - | ]]) |
| 105 | + | Part6.Size = Vector3.new(1, 11, 87) |
| 106 | Part6.Anchored = true | |
| 107 | - | --------------------------------------------------------------- |
| 107 | + | Part6.BottomSurface = Enum.SurfaceType.Smooth |
| 108 | Part6.Material = Enum.Material.SmoothPlastic | |
| 109 | - | local player = owner |
| 109 | + | Part6.TopSurface = Enum.SurfaceType.Smooth |
| 110 | - | local character = player.Character |
| 110 | + | Part7.Parent = Model0 |
| 111 | Part7.CFrame = CFrame.new(-39.1221848, 192.613953, 138.5, 0.984807789, -0.173647955, 0, 0.173647955, 0.984807789, 0, 0, 0, 1) | |
| 112 | - | --------------------------------------------------------------- |
| 112 | + | Part7.Orientation = Vector3.new(0, 0, 10) |
| 113 | Part7.Position = Vector3.new(-39.1221848, 192.613953, 138.5) | |
| 114 | - | local rArm = character["Right Arm"] |
| 114 | + | Part7.Rotation = Vector3.new(0, 0, 10) |
| 115 | - | local lArm = character["Left Arm"] |
| 115 | + | Part7.Size = Vector3.new(78, 12, 1) |
| 116 | - | local rLeg = character["Right Leg"] |
| 116 | + | Part7.Anchored = true |
| 117 | - | local lLeg = character["Left Leg"] |
| 117 | + | Part7.BottomSurface = Enum.SurfaceType.Smooth |
| 118 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
| 119 | - | ------------------------------------------- |
| 119 | + | Part8.Parent = Model0 |
| 120 | Part8.CFrame = CFrame.new(-55.5, 179.607361, 132, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 121 | - | local attack = false |
| 121 | + | Part8.Position = Vector3.new(-55.5, 179.607361, 132) |
| 122 | - | local targ = nil |
| 122 | + | Part8.Size = Vector3.new(1, 10, 10) |
| 123 | Part8.Anchored = true | |
| 124 | - | ------------------------------------------- |
| 124 | + | Part8.BottomSurface = Enum.SurfaceType.Smooth |
| 125 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
| 126 | - | local root = character.HumanoidRootPart |
| 126 | + | Part9.Parent = Model0 |
| 127 | - | local rootJ = root.RootJoint |
| 127 | + | Part9.CFrame = CFrame.new(-67.5, 166.107361, 136.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 128 | Part9.Position = Vector3.new(-67.5, 166.107361, 136.5) | |
| 129 | - | ------------------------------------------- |
| 129 | + | Part9.Size = Vector3.new(25, 19, 19) |
| 130 | Part9.Anchored = true | |
| 131 | - | local tors = character.Torso |
| 131 | + | Part9.BottomSurface = Enum.SurfaceType.Smooth |
| 132 | - | local head = character.Head |
| 132 | + | Part9.TopSurface = Enum.SurfaceType.Smooth |
| 133 | - | local hum = character:FindFirstChildOfClass("Humanoid")
|
| 133 | + | Part10.Parent = Model0 |
| 134 | Part10.CFrame = CFrame.new(-79.5, 124.587677, 29.346405, 1, 0, 0, 0, 0.573575675, 0.819152594, 0, -0.819152594, 0.573575675) | |
| 135 | - | ------------------------------------------- |
| 135 | + | Part10.Orientation = Vector3.new(-55, 0, 0) |
| 136 | Part10.Position = Vector3.new(-79.5, 124.587677, 29.346405) | |
| 137 | - | local ids = {190423831,209436665,1801935021,491080872,986986864,210779207,1255569288,1251015452,582020393,1563991094,2787753799,2338004840,185558852,1986375341,569913318,586436338,510019324,1591230720,723652641,555947343,394236634,195822354,224584376,1576288222,199265353,322621962,569026863,502771070,408862087,1471935327,236336857,2280063143,334259331,344685843,1479420512,297754476,591661590,1571736139,2988953773,130768805,2516100492,580535766,213546066,2471149989,1033438052,282657398,323226722,418028388,595800581}
|
| 137 | + | Part10.Rotation = Vector3.new(-55, 0, 0) |
| 138 | Part10.Size = Vector3.new(1, 11, 87) | |
| 139 | - | local theme = Instance.new("Sound",root)
|
| 139 | + | Part10.Anchored = true |
| 140 | - | theme.Volume = 4.9 |
| 140 | + | Part10.BottomSurface = Enum.SurfaceType.Smooth |
| 141 | - | theme.Looped = true |
| 141 | + | Part10.Material = Enum.Material.SmoothPlastic |
| 142 | - | theme.Name = "Mozzys.exe" |
| 142 | + | Part10.TopSurface = Enum.SurfaceType.Smooth |
| 143 | - | theme.SoundId = "rbxassetid://190423831" |
| 143 | + | WedgePart11.Parent = Model0 |
| 144 | - | theme.MaxDistance = 1000 |
| 144 | + | WedgePart11.CFrame = CFrame.new(-84.25, 159.657364, 135.599976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 145 | - | theme.PlaybackSpeed = 1 |
| 145 | + | WedgePart11.Position = Vector3.new(-84.25, 159.657364, 135.599976) |
| 146 | - | theme:Play() |
| 146 | + | WedgePart11.Size = Vector3.new(10, 6, 18.7000103) |
| 147 | WedgePart11.Anchored = true | |
| 148 | - | --------------------------------------------------------------- |
| 148 | + | WedgePart11.BottomSurface = Enum.SurfaceType.Smooth |
| 149 | WedgePart12.Parent = Model0 | |
| 150 | - | --Credit to mustardfoot for the CFrame lerp Function. Edited a bit. |
| 150 | + | WedgePart12.CFrame = CFrame.new(-84.75, 172.357361, 131.150024, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
| 151 | - | function lerp(weld,startpos,endpos,amntime,longatend) |
| 151 | + | WedgePart12.Orientation = Vector3.new(0, 180, 0) |
| 152 | - | local waited = 0 |
| 152 | + | WedgePart12.Position = Vector3.new(-84.75, 172.357361, 131.150024) |
| 153 | - | for i=1,amntime*100 do |
| 153 | + | WedgePart12.Rotation = Vector3.new(-180, 0, -180) |
| 154 | - | if longatend == true then |
| 154 | + | WedgePart12.Size = Vector3.new(9, 6, 9.79999924) |
| 155 | - | startpos = weld.C0 |
| 155 | + | WedgePart12.Anchored = true |
| 156 | - | end |
| 156 | + | WedgePart12.BottomSurface = Enum.SurfaceType.Smooth |
| 157 | - | weld.C0 = startpos:lerp(endpos,i/(amntime*100)) |
| 157 | + | Part13.Parent = Model0 |
| 158 | - | waited=waited+0.01 |
| 158 | + | Part13.CFrame = CFrame.new(-80.5, 157.107361, 94, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 159 | - | game:GetService("RunService").Stepped:wait()
|
| 159 | + | Part13.Position = Vector3.new(-80.5, 157.107361, 94) |
| 160 | - | end |
| 160 | + | Part13.Size = Vector3.new(1, 1, 72) |
| 161 | Part13.Anchored = true | |
| 162 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
| 163 | - | function removeItem(item,timer) |
| 163 | + | Part13.TopSurface = Enum.SurfaceType.Smooth |
| 164 | - | game:GetService("Debris"):AddItem(item,timer)
|
| 164 | + | Part14.Parent = Model0 |
| 165 | Part14.CFrame = CFrame.new(-0.316986084, 201.011658, 139.182983, -0.342019916, 0, 0.939692736, 0, 1, 0, -0.939692736, 0, -0.342019886) | |
| 166 | Part14.Orientation = Vector3.new(0, 110, 0) | |
| 167 | - | function createSoundEffect(parent,id,volume,pitch,timeposition,cleanuptime) |
| 167 | + | Part14.Position = Vector3.new(-0.316986084, 201.011658, 139.182983) |
| 168 | - | local s = Instance.new("Sound",parent)
|
| 168 | + | Part14.Rotation = Vector3.new(-180, 70, -180) |
| 169 | - | s.Volume = volume |
| 169 | + | Part14.Color = Color3.new(0.929412, 0.917647, 0.917647) |
| 170 | - | s.SoundId = id |
| 170 | + | Part14.Size = Vector3.new(5, 1, 1) |
| 171 | - | s.PlaybackSpeed = pitch |
| 171 | + | Part14.Anchored = true |
| 172 | - | s.TimePosition = timeposition |
| 172 | + | Part14.BottomSurface = Enum.SurfaceType.Smooth |
| 173 | - | s:Play() |
| 173 | + | Part14.BrickColor = BrickColor.new("Lily white")
|
| 174 | - | removeItem(s,cleanuptime) |
| 174 | + | Part14.Material = Enum.Material.Metal |
| 175 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
| 176 | Part14.brickColor = BrickColor.new("Lily white")
| |
| 177 | - | --------------------------------------------------------------- |
| 177 | + | Part15.Parent = Model0 |
| 178 | Part15.CFrame = CFrame.new(-88.5, 157.107361, 94, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 179 | - | local function morph() |
| 179 | + | Part15.Position = Vector3.new(-88.5, 157.107361, 94) |
| 180 | - | local ColorsArray = {
|
| 180 | + | Part15.Size = Vector3.new(1, 1, 72) |
| 181 | - | ColorSequenceKeypoint.new(0, Color3.new(1,0,0)), |
| 181 | + | Part15.Anchored = true |
| 182 | - | ColorSequenceKeypoint.new(0.2, Color3.new(1, 0.333333, 0)), |
| 182 | + | Part15.BottomSurface = Enum.SurfaceType.Smooth |
| 183 | - | ColorSequenceKeypoint.new(0.4, Color3.new(1, 1, 0)), |
| 183 | + | Part15.TopSurface = Enum.SurfaceType.Smooth |
| 184 | - | ColorSequenceKeypoint.new(0.6, Color3.new(0, 1, 0)), |
| 184 | + | WedgePart16.Parent = Model0 |
| 185 | - | ColorSequenceKeypoint.new(0.8, Color3.new(0, 0.666667, 1)), |
| 185 | + | WedgePart16.CFrame = CFrame.new(-61, 176.607361, 132, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 186 | - | ColorSequenceKeypoint.new(1, Color3.new(0.74902, 0, 1)) |
| 186 | + | WedgePart16.Orientation = Vector3.new(0, 90, 0) |
| 187 | - | } |
| 187 | + | WedgePart16.Position = Vector3.new(-61, 176.607361, 132) |
| 188 | - | |
| 188 | + | WedgePart16.Rotation = Vector3.new(0, 90, 0) |
| 189 | - | local pe = Instance.new("ParticleEmitter",lArm)
|
| 189 | + | WedgePart16.Size = Vector3.new(10, 2, 10) |
| 190 | - | pe.Speed = NumberRange.new(0, 0) |
| 190 | + | WedgePart16.Anchored = true |
| 191 | - | pe.Color = ColorSequence.new(ColorsArray) |
| 191 | + | WedgePart16.BottomSurface = Enum.SurfaceType.Smooth |
| 192 | - | pe.LightInfluence = 1 |
| 192 | + | Part17.Parent = Model0 |
| 193 | - | pe.Size = NumberSequence.new(.5,.5) |
| 193 | + | Part17.CFrame = CFrame.new(-67.5, 170.607361, 126.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 194 | - | pe.Lifetime = NumberRange.new(0.5, 0.5) |
| 194 | + | Part17.Position = Vector3.new(-67.5, 170.607361, 126.5) |
| 195 | - | pe.LockedToPart = false |
| 195 | + | Part17.Size = Vector3.new(25, 28, 1) |
| 196 | - | pe.Rate = 17 |
| 196 | + | Part17.Anchored = true |
| 197 | - | |
| 197 | + | Part17.BottomSurface = Enum.SurfaceType.Smooth |
| 198 | - | local pe2 = Instance.new("ParticleEmitter",rLeg)
|
| 198 | + | Part17.TopSurface = Enum.SurfaceType.Smooth |
| 199 | - | pe2.Speed = NumberRange.new(0, 0) |
| 199 | + | Part18.Parent = Model0 |
| 200 | - | pe2.Color = ColorSequence.new(ColorsArray) |
| 200 | + | Part18.CFrame = CFrame.new(-60.9698486, 186.278381, 132, 0, 0.422617942, 0.906307876, 0, 0.906307876, -0.422617942, -1, 0, 0) |
| 201 | - | pe2.LightInfluence = 1 |
| 201 | + | Part18.Orientation = Vector3.new(25, 90, 0) |
| 202 | - | pe2.Size = NumberSequence.new(.5,.5) |
| 202 | + | Part18.Position = Vector3.new(-60.9698486, 186.278381, 132) |
| 203 | - | pe2.Lifetime = NumberRange.new(0.5, 0.5) |
| 203 | + | Part18.Rotation = Vector3.new(90, 65, -90) |
| 204 | - | pe2.LockedToPart = false |
| 204 | + | Part18.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 205 | - | pe2.Rate = 17 |
| 205 | + | Part18.Size = Vector3.new(12, 1, 1) |
| 206 | - | |
| 206 | + | Part18.Anchored = true |
| 207 | - | local pe3 = Instance.new("ParticleEmitter",rArm)
|
| 207 | + | Part18.BottomSurface = Enum.SurfaceType.Smooth |
| 208 | - | pe3.Speed = NumberRange.new(0, 0) |
| 208 | + | Part18.BrickColor = BrickColor.new("Smoky grey")
|
| 209 | - | pe3.Color = ColorSequence.new(ColorsArray) |
| 209 | + | Part18.CanCollide = false |
| 210 | - | pe3.LightInfluence = 1 |
| 210 | + | Part18.Material = Enum.Material.Metal |
| 211 | - | pe3.Size = NumberSequence.new(.5,.5) |
| 211 | + | Part18.TopSurface = Enum.SurfaceType.Smooth |
| 212 | - | pe3.Lifetime = NumberRange.new(0.5, 0.5) |
| 212 | + | Part18.brickColor = BrickColor.new("Smoky grey")
|
| 213 | - | pe3.LockedToPart = false |
| 213 | + | Part18.Shape = Enum.PartType.Cylinder |
| 214 | - | pe3.Rate = 17 |
| 214 | + | Part19.Parent = Model0 |
| 215 | - | |
| 215 | + | Part19.CFrame = CFrame.new(-63.2356186, 187.08493, 132, 0, 0.422617942, 0.906307876, 0, 0.906307876, -0.422617942, -1, 0, 0) |
| 216 | - | local pe4 = Instance.new("ParticleEmitter",lLeg)
|
| 216 | + | Part19.Orientation = Vector3.new(25, 90, 0) |
| 217 | - | pe4.Speed = NumberRange.new(0, 0) |
| 217 | + | Part19.Position = Vector3.new(-63.2356186, 187.08493, 132) |
| 218 | - | pe4.Color = ColorSequence.new(ColorsArray) |
| 218 | + | Part19.Rotation = Vector3.new(90, 65, -90) |
| 219 | - | pe4.LightInfluence = 1 |
| 219 | + | Part19.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 220 | - | pe4.Size = NumberSequence.new(.5,.5) |
| 220 | + | Part19.Size = Vector3.new(12, 1, 1) |
| 221 | - | pe4.Lifetime = NumberRange.new(0.5, 0.5) |
| 221 | + | Part19.Anchored = true |
| 222 | - | pe4.LockedToPart = false |
| 222 | + | Part19.BottomSurface = Enum.SurfaceType.Smooth |
| 223 | - | pe4.Rate = 17 |
| 223 | + | Part19.BrickColor = BrickColor.new("Smoky grey")
|
| 224 | - | |
| 224 | + | Part19.CanCollide = false |
| 225 | Part19.Material = Enum.Material.Metal | |
| 226 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
| 227 | - | pcall(function() |
| 227 | + | Part19.brickColor = BrickColor.new("Smoky grey")
|
| 228 | - | morph() |
| 228 | + | Part19.Shape = Enum.PartType.Cylinder |
| 229 | - | end) |
| 229 | + | Part20.Parent = Model0 |
| 230 | Part20.CFrame = CFrame.new(-58.7040825, 185.471832, 132, 0, 0.422617942, 0.906307876, 0, 0.906307876, -0.422617942, -1, 0, 0) | |
| 231 | - | --------------------------------------------------------------- |
| 231 | + | Part20.Orientation = Vector3.new(25, 90, 0) |
| 232 | Part20.Position = Vector3.new(-58.7040825, 185.471832, 132) | |
| 233 | - | mouse.KeyDown:Connect(function(key) |
| 233 | + | Part20.Rotation = Vector3.new(90, 65, -90) |
| 234 | - | |
| 234 | + | Part20.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 235 | - | if key == "m" then |
| 235 | + | Part20.Size = Vector3.new(12, 1, 1) |
| 236 | - | if not theme.Playing == false then |
| 236 | + | Part20.Anchored = true |
| 237 | - | local pickRand = ids[math.random(1,#ids)] |
| 237 | + | Part20.BottomSurface = Enum.SurfaceType.Smooth |
| 238 | - | theme.SoundId = "rbxassetid://"..pickRand |
| 238 | + | Part20.BrickColor = BrickColor.new("Smoky grey")
|
| 239 | - | theme:Play() |
| 239 | + | Part20.CanCollide = false |
| 240 | - | else |
| 240 | + | Part20.Material = Enum.Material.Metal |
| 241 | - | theme:Stop() |
| 241 | + | Part20.TopSurface = Enum.SurfaceType.Smooth |
| 242 | - | end |
| 242 | + | Part20.brickColor = BrickColor.new("Smoky grey")
|
| 243 | - | end |
| 243 | + | Part20.Shape = Enum.PartType.Cylinder |
| 244 | - | if key == "n" then |
| 244 | + | Part21.Parent = Model0 |
| 245 | - | theme.Playing = not theme.Playing |
| 245 | + | Part21.CFrame = CFrame.new(-78, 189.107361, 136.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 246 | - | end |
| 246 | + | Part21.Position = Vector3.new(-78, 189.107361, 136.5) |
| 247 | - | |
| 247 | + | Part21.Size = Vector3.new(26, 9, 21) |
| 248 | - | if attack == true then return end |
| 248 | + | Part21.Anchored = true |
| 249 | - | if key == "q" then |
| 249 | + | Part21.BottomSurface = Enum.SurfaceType.Smooth |
| 250 | - | attack = true |
| 250 | + | Part21.TopSurface = Enum.SurfaceType.Smooth |
| 251 | - | |
| 251 | + | Part22.Parent = Model0 |
| 252 | - | local raWeld = Instance.new("Weld",tors)
|
| 252 | + | Part22.CFrame = CFrame.new(-60.9698486, 186.278381, 132, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1) |
| 253 | - | raWeld.Part0 = tors |
| 253 | + | Part22.Orientation = Vector3.new(0, 0, -20) |
| 254 | - | raWeld.Part1 = rArm |
| 254 | + | Part22.Position = Vector3.new(-60.9698486, 186.278381, 132) |
| 255 | - | raWeld.C0 = CFrame.new(1.5,0,0) |
| 255 | + | Part22.Rotation = Vector3.new(0, 0, -20) |
| 256 | - | |
| 256 | + | Part22.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 257 | - | local begin = coroutine.wrap(function() |
| 257 | + | Part22.Size = Vector3.new(12, 1, 1) |
| 258 | - | lerp(raWeld,raWeld.C0,CFrame.new(1.5,.5,-.5) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),0.1,true) |
| 258 | + | Part22.Anchored = true |
| 259 | - | end) |
| 259 | + | Part22.BottomSurface = Enum.SurfaceType.Smooth |
| 260 | - | |
| 260 | + | Part22.BrickColor = BrickColor.new("Smoky grey")
|
| 261 | - | local fireball = Instance.new("Part",workspace)
|
| 261 | + | Part22.CanCollide = false |
| 262 | - | game:GetService("Debris"):AddItem(fireball,5)
|
| 262 | + | Part22.Material = Enum.Material.Metal |
| 263 | - | fireball.Size = Vector3.new(3,3,3) |
| 263 | + | Part22.TopSurface = Enum.SurfaceType.Smooth |
| 264 | - | fireball.Material = Enum.Material.Neon |
| 264 | + | Part22.brickColor = BrickColor.new("Smoky grey")
|
| 265 | - | fireball.BrickColor = BrickColor.new("Really red")
|
| 265 | + | Part22.Shape = Enum.PartType.Cylinder |
| 266 | - | fireball.Transparency = 0.4 |
| 266 | + | Part23.Parent = Model0 |
| 267 | - | fireball.CanCollide = false |
| 267 | + | Part23.CFrame = CFrame.new(-60.9698486, 186.278381, 134.5, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1) |
| 268 | - | fireball.Shape = Enum.PartType.Ball |
| 268 | + | Part23.Orientation = Vector3.new(0, 0, -20) |
| 269 | - | fireball.CFrame = CFrame.new(tors.Position, Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)) |
| 269 | + | Part23.Position = Vector3.new(-60.9698486, 186.278381, 134.5) |
| 270 | - | |
| 270 | + | Part23.Rotation = Vector3.new(0, 0, -20) |
| 271 | - | begin() |
| 271 | + | Part23.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 272 | - | |
| 272 | + | Part23.Size = Vector3.new(12, 1, 1) |
| 273 | - | local bv = Instance.new("BodyVelocity",fireball)
|
| 273 | + | Part23.Anchored = true |
| 274 | - | bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 274 | + | Part23.BottomSurface = Enum.SurfaceType.Smooth |
| 275 | - | bv.Velocity = fireball.CFrame.LookVector * 100 |
| 275 | + | Part23.BrickColor = BrickColor.new("Smoky grey")
|
| 276 | - | |
| 276 | + | Part23.CanCollide = false |
| 277 | - | fireball.Touched:Connect(function(hit) |
| 277 | + | Part23.Material = Enum.Material.Metal |
| 278 | - | local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 278 | + | Part23.TopSurface = Enum.SurfaceType.Smooth |
| 279 | - | if humn and humn.Health > 0 then |
| 279 | + | Part23.brickColor = BrickColor.new("Smoky grey")
|
| 280 | - | if hit:IsDescendantOf(character) then return end |
| 280 | + | Part23.Shape = Enum.PartType.Cylinder |
| 281 | - | local findAlreadyHit = humn.Parent:FindFirstChildOfClass("ObjectValue")
|
| 281 | + | Part24.Parent = Model0 |
| 282 | - | if not findAlreadyHit then |
| 282 | + | Part24.CFrame = CFrame.new(-60.9698486, 186.278381, 129.5, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1) |
| 283 | - | Instance.new("ObjectValue",humn.Parent).Name = "burn"
|
| 283 | + | Part24.Orientation = Vector3.new(0, 0, -20) |
| 284 | - | humn:TakeDamage(math.random(25,47)) |
| 284 | + | Part24.Position = Vector3.new(-60.9698486, 186.278381, 129.5) |
| 285 | - | wait(1.4) |
| 285 | + | Part24.Rotation = Vector3.new(0, 0, -20) |
| 286 | - | humn.Parent:FindFirstChildOfClass("ObjectValue"):Destroy()
|
| 286 | + | Part24.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 287 | - | else |
| 287 | + | Part24.Size = Vector3.new(12, 1, 1) |
| 288 | - | --nothing |
| 288 | + | Part24.Anchored = true |
| 289 | - | end |
| 289 | + | Part24.BottomSurface = Enum.SurfaceType.Smooth |
| 290 | Part24.BrickColor = BrickColor.new("Smoky grey")
| |
| 291 | - | end) |
| 291 | + | Part24.CanCollide = false |
| 292 | - | |
| 292 | + | Part24.Material = Enum.Material.Metal |
| 293 | - | local endAnim = coroutine.wrap(function() |
| 293 | + | Part24.TopSurface = Enum.SurfaceType.Smooth |
| 294 | - | lerp(raWeld,raWeld.C0,CFrame.new(1.5,0,0),0.1,true) |
| 294 | + | Part24.brickColor = BrickColor.new("Smoky grey")
|
| 295 | - | raWeld:Destroy() |
| 295 | + | Part24.Shape = Enum.PartType.Cylinder |
| 296 | - | end) |
| 296 | + | Part25.Parent = Model0 |
| 297 | - | |
| 297 | + | Part25.CFrame = CFrame.new(3.68301392, 200.511658, 146.647095, -0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, -0.500000238) |
| 298 | - | wait(1) |
| 298 | + | Part25.Orientation = Vector3.new(0, 120, 0) |
| 299 | - | endAnim() |
| 299 | + | Part25.Position = Vector3.new(3.68301392, 200.511658, 146.647095) |
| 300 | - | |
| 300 | + | Part25.Rotation = Vector3.new(-180, 60, -180) |
| 301 | - | attack = false |
| 301 | + | Part25.Color = Color3.new(0.929412, 0.917647, 0.917647) |
| 302 | - | end |
| 302 | + | Part25.Size = Vector3.new(13, 6, 1) |
| 303 | - | if key == "e" then |
| 303 | + | Part25.Anchored = true |
| 304 | - | attack = true |
| 304 | + | Part25.BottomSurface = Enum.SurfaceType.Smooth |
| 305 | - | |
| 305 | + | Part25.BrickColor = BrickColor.new("Lily white")
|
| 306 | - | local rLegWeld = Instance.new("Weld",tors)
|
| 306 | + | Part25.Material = Enum.Material.Metal |
| 307 | - | rLegWeld.Part0 = tors |
| 307 | + | Part25.TopSurface = Enum.SurfaceType.Smooth |
| 308 | - | rLegWeld.Part1 = rLeg |
| 308 | + | Part25.brickColor = BrickColor.new("Lily white")
|
| 309 | - | rLegWeld.C0 = CFrame.new(.5,-2,0) |
| 309 | + | SurfaceGui26.Parent = Part25 |
| 310 | - | |
| 310 | + | SurfaceGui26.LightInfluence = 1 |
| 311 | - | local blockEffect = coroutine.wrap(function() |
| 311 | + | SurfaceGui26.Face = Enum.NormalId.Back |
| 312 | - | local impact = Instance.new("Part",workspace)
|
| 312 | + | SurfaceGui26.ClipsDescendants = true |
| 313 | - | removeItem(impact,3) |
| 313 | + | SurfaceGui26.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
| 314 | - | createSoundEffect(impact,"rbxassetid://438666141",3,1,0,3.4) |
| 314 | + | TextLabel27.Parent = SurfaceGui26 |
| 315 | - | impact.Name = "ImpactCrash" |
| 315 | + | TextLabel27.Size = UDim2.new(1, 0, 1, 0) |
| 316 | - | impact.Anchored = true |
| 316 | + | TextLabel27.BackgroundColor = BrickColor.new("Institutional white")
|
| 317 | - | impact.Material = "Neon" |
| 317 | + | TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1) |
| 318 | - | impact.TopSurface = "Smooth" |
| 318 | + | TextLabel27.BackgroundTransparency = 1 |
| 319 | - | impact.BottomSurface = "Smooth" |
| 319 | + | TextLabel27.Font = Enum.Font.GothamBold |
| 320 | - | impact.Size = Vector3.new(15,.25,15) |
| 320 | + | TextLabel27.FontSize = Enum.FontSize.Size14 |
| 321 | - | impact.BrickColor = BrickColor.new("Bright yellow")
|
| 321 | + | TextLabel27.Text = "\"Say g/ball in the chat to use the track\"" |
| 322 | - | impact.CanCollide = false |
| 322 | + | TextLabel27.TextColor = BrickColor.new("Institutional white")
|
| 323 | - | impact.CFrame = root.CFrame * (CFrame.new(0,-2.9,0) * CFrame.Angles(0,0,0)) |
| 323 | + | TextLabel27.TextColor3 = Color3.new(1, 1, 1) |
| 324 | - | |
| 324 | + | TextLabel27.TextScaled = true |
| 325 | - | local msh = Instance.new("SpecialMesh",impact)
|
| 325 | + | TextLabel27.TextSize = 14 |
| 326 | - | msh.MeshType = Enum.MeshType.Sphere |
| 326 | + | TextLabel27.TextStrokeTransparency = 0.60000002384186 |
| 327 | - | |
| 327 | + | TextLabel27.TextWrap = true |
| 328 | - | impact.Touched:Connect(function(hit) |
| 328 | + | TextLabel27.TextWrapped = true |
| 329 | - | local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 329 | + | Part28.Parent = Model0 |
| 330 | - | if humn and humn.Health > 0 then |
| 330 | + | Part28.CFrame = CFrame.new(-56.7040825, 184.721832, 132, 0, 0.422617942, 0.906307876, 0, 0.906307876, -0.422617942, -1, 0, 0) |
| 331 | - | if hit:IsDescendantOf(character) then return end |
| 331 | + | Part28.Orientation = Vector3.new(25, 90, 0) |
| 332 | - | local findAlreadyHit = humn.Parent:FindFirstChildOfClass("ObjectValue")
|
| 332 | + | Part28.Position = Vector3.new(-56.7040825, 184.721832, 132) |
| 333 | - | if not findAlreadyHit then |
| 333 | + | Part28.Rotation = Vector3.new(90, 65, -90) |
| 334 | - | Instance.new("ObjectValue",humn.Parent).Name = "burn"
|
| 334 | + | Part28.Color = Color3.new(0.356863, 0.364706, 0.411765) |
| 335 | - | humn:TakeDamage(math.random(50,76)) |
| 335 | + | Part28.Size = Vector3.new(12, 1, 1) |
| 336 | - | wait(3) |
| 336 | + | Part28.Anchored = true |
| 337 | - | humn.Parent:FindFirstChildOfClass("ObjectValue"):Destroy()
|
| 337 | + | Part28.BottomSurface = Enum.SurfaceType.Smooth |
| 338 | - | else |
| 338 | + | Part28.BrickColor = BrickColor.new("Smoky grey")
|
| 339 | - | --nothing |
| 339 | + | Part28.CanCollide = false |
| 340 | - | end |
| 340 | + | Part28.Material = Enum.Material.Metal |
| 341 | - | end |
| 341 | + | Part28.TopSurface = Enum.SurfaceType.Smooth |
| 342 | - | end) |
| 342 | + | Part28.brickColor = BrickColor.new("Smoky grey")
|
| 343 | - | |
| 343 | + | Part28.Shape = Enum.PartType.Cylinder |
| 344 | - | coroutine.resume(coroutine.create(function() |
| 344 | + | Part29.Parent = Model0 |
| 345 | - | wait(0.1) |
| 345 | + | Part29.CFrame = CFrame.new(-90, 170.607361, 136.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 346 | - | for i = 0,1,0.01 do |
| 346 | + | Part29.Position = Vector3.new(-90, 170.607361, 136.5) |
| 347 | - | wait() |
| 347 | + | Part29.Size = Vector3.new(2, 28, 21) |
| 348 | - | impact.Size = impact.Size + Vector3.new(.5,0,.5) |
| 348 | + | Part29.Anchored = true |
| 349 | - | impact.CFrame = impact.CFrame + Vector3.new(0,0.01,0) |
| 349 | + | Part29.BottomSurface = Enum.SurfaceType.Smooth |
| 350 | - | impact.Transparency = impact.Transparency + i |
| 350 | + | Part29.TopSurface = Enum.SurfaceType.Smooth |
| 351 | - | end |
| 351 | + | SpawnLocation30.Parent = Model0 |
| 352 | - | end), impact) |
| 352 | + | SpawnLocation30.CFrame = CFrame.new(27.5, 194, 132, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 353 | - | end) |
| 353 | + | SpawnLocation30.Position = Vector3.new(27.5, 194, 132) |
| 354 | - | |
| 354 | + | SpawnLocation30.Size = Vector3.new(55, 1, 12) |
| 355 | - | local resetRootJ = coroutine.wrap(function() |
| 355 | + | SpawnLocation30.Anchored = true |
| 356 | - | lerp(rootJ,rootJ.C0,CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2,true) |
| 356 | + | SpawnLocation30.BottomSurface = Enum.SurfaceType.Smooth |
| 357 | - | end) |
| 357 | + | SpawnLocation30.TopSurface = Enum.SurfaceType.Smooth |
| 358 | - | |
| 358 | + | Decal31.Parent = SpawnLocation30 |
| 359 | - | local begin = coroutine.wrap(function() |
| 359 | + | Decal31.Texture = "rbxasset://textures/SpawnLocation.png" |
| 360 | - | lerp(rootJ,rootJ.C0,CFrame.fromEulerAnglesXYZ(math.rad(-70),math.rad(0),math.rad(180)),0.05,true) |
| 360 | + | Decal31.Face = Enum.NormalId.Top |
| 361 | - | end) |
| 361 | + | Part32.Parent = Model0 |
| 362 | - | --rLegWeld.C0 = CFrame.new(.5,-2,0) |
| 362 | + | Part32.CFrame = CFrame.new(-67.5, 179.607361, 142, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 363 | - | lerp(rLegWeld,rLegWeld.C0,CFrame.new(.5,-1.2,-.5) * CFrame.fromEulerAnglesXYZ(math.rad(-20),math.rad(0),math.rad(0)),0.05,true) |
| 363 | + | Part32.Position = Vector3.new(-67.5, 179.607361, 142) |
| 364 | - | begin() |
| 364 | + | Part32.Size = Vector3.new(25, 10, 10) |
| 365 | - | |
| 365 | + | Part32.Anchored = true |
| 366 | - | wait(.5) |
| 366 | + | Part32.BottomSurface = Enum.SurfaceType.Smooth |
| 367 | - | |
| 367 | + | Part32.TopSurface = Enum.SurfaceType.Smooth |
| 368 | - | local new = coroutine.wrap(function() |
| 368 | + | Part33.Parent = Model0 |
| 369 | - | lerp(rLegWeld,rLegWeld.C0,CFrame.new(.5,-1.7,-.5) * CFrame.fromEulerAnglesXYZ(math.rad(20),math.rad(0),math.rad(0)),0.05,true) |
| 369 | + | Part33.CFrame = CFrame.new(-73, 175.607361, 126.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 370 | - | end) |
| 370 | + | Part33.Position = Vector3.new(-73, 175.607361, 126.5) |
| 371 | - | lerp(rootJ,rootJ.C0,CFrame.fromEulerAnglesXYZ(math.rad(-110),math.rad(0),math.rad(180)),0.05,true) |
| 371 | + | Part33.Size = Vector3.new(36, 18, 1) |
| 372 | - | new() |
| 372 | + | Part33.Anchored = true |
| 373 | - | wait(0.1) |
| 373 | + | Part33.BottomSurface = Enum.SurfaceType.Smooth |
| 374 | - | blockEffect() |
| 374 | + | Part33.TopSurface = Enum.SurfaceType.Smooth |
| 375 | - | |
| 375 | + | for i,v in pairs(mas:GetChildren()) do |
| 376 | - | local returntonorm = coroutine.wrap(function() |
| 376 | + | v.Parent = workspace |
| 377 | - | lerp(rLegWeld,rLegWeld.C0,CFrame.new(.5,-2,0),0.05,true) |
| 377 | + | Model0:GetChildren().Anchored = true |
| 378 | - | wait(0.1) |
| 378 | + | pcall(function() v:MakeJoints() end) |
| 379 | - | end) |
| 379 | + | |
| 380 | - | |
| 380 | + | mas:Destroy() |
| 381 | - | resetRootJ() |
| 381 | + | for i,v in pairs(cors) do |
| 382 | - | returntonorm() |
| 382 | + | spawn(function() |
| 383 | - | rLegWeld:Destroy() |
| 383 | + | pcall(v) |
| 384 | - | |
| 384 | + | |
| 385 | - | wait(0.2) |
| 385 | + | end |