SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 141 | A = true | |
| 142 | if A == true then | |
| 143 | Model = Instance.new("Model")
| |
| 144 | Model.Name = "Weapon" | |
| 145 | p = Instance.new("Part", Model)
| |
| 146 | p.Name = "Part" | |
| 147 | p.TopSurface = 0 | |
| 148 | p.BottomSurface = 0 | |
| 149 | p.formFactor = "Custom" | |
| 150 | p.Size = Vector3.new(10, 12, 10) | |
| 151 | p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 152 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 153 | p.Transparency = 0 | |
| 154 | p.Reflectance = .1 | |
| 155 | p.Material = Enum.Material.Concrete | |
| 156 | m = Instance.new("CylinderMesh")
| |
| 157 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 158 | m.Parent = p | |
| 159 | p = Instance.new("Part", Model)
| |
| 160 | p.Name = "Part" | |
| 161 | p.TopSurface = 0 | |
| 162 | p.BottomSurface = 0 | |
| 163 | p.formFactor = "Custom" | |
| 164 | p.Size = Vector3.new(2, 12.8, 2) | |
| 165 | p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 166 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 167 | p.Transparency = 0 | |
| 168 | p.Reflectance = .1 | |
| 169 | p.Material = Enum.Material.Plastic | |
| 170 | m = Instance.new("CylinderMesh")
| |
| 171 | m.Scale = Vector3.new(1, 1, 1) | |
| 172 | m.Parent = p | |
| 173 | p = Instance.new("Part", Model)
| |
| 174 | p.Name = "Part" | |
| 175 | p.TopSurface = 0 | |
| 176 | p.BottomSurface = 0 | |
| 177 | p.formFactor = "Custom" | |
| 178 | p.Size = Vector3.new(1.79, 5, 1) | |
| 179 | p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 180 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 181 | p.Transparency = 0 | |
| 182 | p.Reflectance = .1 | |
| 183 | p.Material = Enum.Material.Plastic | |
| 184 | p = Instance.new("Part", Model)
| |
| 185 | p.Name = "Part" | |
| 186 | p.TopSurface = 0 | |
| 187 | p.BottomSurface = 0 | |
| 188 | p.formFactor = "Custom" | |
| 189 | p.Size = Vector3.new(5, 1.40, 0.99) | |
| 190 | p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 191 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 192 | p.Transparency = 0 | |
| 193 | p.Reflectance = .1 | |
| 194 | p.Material = Enum.Material.Plastic | |
| 195 | m = Instance.new("SpecialMesh")
| |
| 196 | m.Scale = Vector3.new(1, 1, 1) | |
| 197 | m.Parent = p | |
| 198 | m.MeshType = Enum.MeshType.Wedge | |
| 199 | p = Instance.new("Part", Model)
| |
| 200 | p.Name = "Center" | |
| 201 | p.TopSurface = 0 | |
| 202 | p.BottomSurface = 0 | |
| 203 | p.formFactor = "Custom" | |
| 204 | p.Size = Vector3.new(12.5, 5.80, 27.6) | |
| 205 | p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) | |
| 206 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 207 | p.Transparency = 1 | |
| 208 | p.Reflectance = .1 | |
| 209 | p.Material = Enum.Material.Plastic | |
| 210 | p = Instance.new("Part", Model)
| |
| 211 | p.Name = "Part" | |
| 212 | p.TopSurface = 0 | |
| 213 | p.BottomSurface = 0 | |
| 214 | p.formFactor = "Custom" | |
| 215 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 216 | p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 217 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 218 | p.Transparency = 0 | |
| 219 | p.Reflectance = .1 | |
| 220 | p.Material = Enum.Material.Plastic | |
| 221 | p = Instance.new("Part", Model)
| |
| 222 | p.Name = "Part" | |
| 223 | p.TopSurface = 0 | |
| 224 | p.BottomSurface = 0 | |
| 225 | p.formFactor = "Custom" | |
| 226 | p.Size = Vector3.new(11, 5.40, 2.79) | |
| 227 | p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 228 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 229 | p.Transparency = 0 | |
| 230 | p.Reflectance = .1 | |
| 231 | p.Material = Enum.Material.Plastic | |
| 232 | m = Instance.new("SpecialMesh")
| |
| 233 | m.Scale = Vector3.new(1, 1, 1) | |
| 234 | m.Parent = p | |
| 235 | m.MeshType = Enum.MeshType.Wedge | |
| 236 | p = Instance.new("Part", Model)
| |
| 237 | p.Name = "Part" | |
| 238 | p.TopSurface = 0 | |
| 239 | p.BottomSurface = 0 | |
| 240 | p.formFactor = "Custom" | |
| 241 | p.Size = Vector3.new(2.60, 11, 1.99) | |
| 242 | p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 243 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 244 | p.Transparency = 0 | |
| 245 | p.Reflectance = .1 | |
| 246 | p.Material = Enum.Material.Plastic | |
| 247 | p = Instance.new("Part", Model)
| |
| 248 | p.Name = "Part" | |
| 249 | p.TopSurface = 0 | |
| 250 | p.BottomSurface = 0 | |
| 251 | p.formFactor = "Custom" | |
| 252 | p.Size = Vector3.new(3.20, 11.0, 5) | |
| 253 | p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 254 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 255 | p.Transparency = 0 | |
| 256 | p.Reflectance = .1 | |
| 257 | p.Material = Enum.Material.Plastic | |
| 258 | p = Instance.new("Part", Model)
| |
| 259 | p.Name = "Part" | |
| 260 | p.TopSurface = 0 | |
| 261 | p.BottomSurface = 0 | |
| 262 | p.formFactor = "Custom" | |
| 263 | p.Size = Vector3.new(1.99, 1, 1) | |
| 264 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 265 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 266 | p.Transparency = 0 | |
| 267 | p.Reflectance = .1 | |
| 268 | p.Material = Enum.Material.Plastic | |
| 269 | p = Instance.new("Part", Model)
| |
| 270 | p.Name = "Part" | |
| 271 | p.TopSurface = 0 | |
| 272 | p.BottomSurface = 0 | |
| 273 | p.formFactor = "Custom" | |
| 274 | p.Size = Vector3.new(1, 1, 4.59) | |
| 275 | p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 276 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 277 | p.Transparency = 0 | |
| 278 | p.Reflectance = .1 | |
| 279 | p.Material = Enum.Material.Plastic | |
| 280 | p = Instance.new("Part", Model)
| |
| 281 | p.Name = "Part" | |
| 282 | p.TopSurface = 0 | |
| 283 | p.BottomSurface = 0 | |
| 284 | p.formFactor = "Custom" | |
| 285 | p.Size = Vector3.new(1, 12.6, 9.80) | |
| 286 | p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 287 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 288 | p.Transparency = 0 | |
| 289 | p.Reflectance = .1 | |
| 290 | p.Material = Enum.Material.Plastic | |
| 291 | p = Instance.new("Part", Model)
| |
| 292 | p.Name = "Part" | |
| 293 | p.TopSurface = 0 | |
| 294 | p.BottomSurface = 0 | |
| 295 | p.formFactor = "Custom" | |
| 296 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 297 | p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 298 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 299 | p.Transparency = 0 | |
| 300 | p.Reflectance = .1 | |
| 301 | p.Material = Enum.Material.Plastic | |
| 302 | m = Instance.new("SpecialMesh")
| |
| 303 | m.Scale = Vector3.new(1, 1, 1) | |
| 304 | m.Parent = p | |
| 305 | m.MeshType = Enum.MeshType.Wedge | |
| 306 | p = Instance.new("Part", Model)
| |
| 307 | p.Name = "Part" | |
| 308 | p.TopSurface = 0 | |
| 309 | p.BottomSurface = 0 | |
| 310 | p.formFactor = "Custom" | |
| 311 | p.Size = Vector3.new(11, 0.60, 1.99) | |
| 312 | p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) | |
| 313 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 314 | p.Transparency = 0 | |
| 315 | p.Reflectance = .1 | |
| 316 | p.Material = Enum.Material.Plastic | |
| 317 | m = Instance.new("SpecialMesh")
| |
| 318 | m.Scale = Vector3.new(1, 1, 1) | |
| 319 | m.Parent = p | |
| 320 | m.MeshType = Enum.MeshType.Wedge | |
| 321 | p = Instance.new("Part", Model)
| |
| 322 | p.Name = "Part" | |
| 323 | p.TopSurface = 0 | |
| 324 | p.BottomSurface = 0 | |
| 325 | p.formFactor = "Custom" | |
| 326 | p.Size = Vector3.new(3.20, 11, 5.60) | |
| 327 | p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 328 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 329 | p.Transparency = 0 | |
| 330 | p.Reflectance = .1 | |
| 331 | p.Material = Enum.Material.Plastic | |
| 332 | p = Instance.new("Part", Model)
| |
| 333 | p.Name = "Part" | |
| 334 | p.TopSurface = 0 | |
| 335 | p.BottomSurface = 0 | |
| 336 | p.formFactor = "Custom" | |
| 337 | p.Size = Vector3.new(5, 13, 3.79) | |
| 338 | p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 339 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 340 | p.Transparency = 0 | |
| 341 | p.Reflectance = .1 | |
| 342 | p.Material = Enum.Material.Plastic | |
| 343 | p = Instance.new("Part", Model)
| |
| 344 | p.Name = "Part" | |
| 345 | p.TopSurface = 0 | |
| 346 | p.BottomSurface = 0 | |
| 347 | p.formFactor = "Custom" | |
| 348 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 349 | p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 350 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 351 | p.Transparency = 0 | |
| 352 | p.Reflectance = .1 | |
| 353 | p.Material = Enum.Material.Plastic | |
| 354 | m = Instance.new("SpecialMesh")
| |
| 355 | m.Scale = Vector3.new(1, 1, 1) | |
| 356 | m.Parent = p | |
| 357 | m.MeshType = Enum.MeshType.Wedge | |
| 358 | p = Instance.new("Part", Model)
| |
| 359 | p.Name = "Part" | |
| 360 | p.TopSurface = 0 | |
| 361 | p.BottomSurface = 0 | |
| 362 | p.formFactor = "Custom" | |
| 363 | p.Size = Vector3.new(5.19, 1, 1) | |
| 364 | p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 365 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 366 | p.Transparency = 0 | |
| 367 | p.Reflectance = .1 | |
| 368 | p.Material = Enum.Material.Plastic | |
| 369 | p = Instance.new("Part", Model)
| |
| 370 | p.Name = "Part" | |
| 371 | p.TopSurface = 0 | |
| 372 | p.BottomSurface = 0 | |
| 373 | p.formFactor = "Custom" | |
| 374 | p.Size = Vector3.new(3.20, 5, 4) | |
| 375 | p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 376 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 377 | p.Transparency = 0 | |
| 378 | p.Reflectance = .1 | |
| 379 | p.Material = Enum.Material.Plastic | |
| 380 | p = Instance.new("Part", Model)
| |
| 381 | p.Name = "Part" | |
| 382 | p.TopSurface = 0 | |
| 383 | p.BottomSurface = 0 | |
| 384 | p.formFactor = "Custom" | |
| 385 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 386 | p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) | |
| 387 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 388 | p.Transparency = 0 | |
| 389 | p.Reflectance = .1 | |
| 390 | p.Material = Enum.Material.Plastic | |
| 391 | m = Instance.new("SpecialMesh")
| |
| 392 | m.Scale = Vector3.new(1, 1, 1) | |
| 393 | m.Parent = p | |
| 394 | m.MeshType = Enum.MeshType.Wedge | |
| 395 | p = Instance.new("Part", Model)
| |
| 396 | p.Name = "Part" | |
| 397 | p.TopSurface = 0 | |
| 398 | p.BottomSurface = 0 | |
| 399 | p.formFactor = "Custom" | |
| 400 | p.Size = Vector3.new(0.60, 7.40, 3.79) | |
| 401 | p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 402 | p.BrickColor = BrickColor.new("Black")
| |
| 403 | p.Transparency = 0 | |
| 404 | p.Reflectance = .1 | |
| 405 | p.Material = Enum.Material.Plastic | |
| 406 | p = Instance.new("Part", Model)
| |
| 407 | p.Name = "Part" | |
| 408 | p.TopSurface = 0 | |
| 409 | p.BottomSurface = 0 | |
| 410 | p.formFactor = "Custom" | |
| 411 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 412 | p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 413 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 414 | p.Transparency = 0 | |
| 415 | p.Reflectance = .1 | |
| 416 | p.Material = Enum.Material.Plastic | |
| 417 | p = Instance.new("Part", Model)
| |
| 418 | p.Name = "Part" | |
| 419 | p.TopSurface = 0 | |
| 420 | p.BottomSurface = 0 | |
| 421 | p.formFactor = "Custom" | |
| 422 | p.Size = Vector3.new(11, 3.20, 2.19) | |
| 423 | p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 424 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 425 | p.Transparency = 0 | |
| 426 | p.Reflectance = .1 | |
| 427 | p.Material = Enum.Material.Plastic | |
| 428 | m = Instance.new("SpecialMesh")
| |
| 429 | m.Scale = Vector3.new(1, 1, 1) | |
| 430 | m.Parent = p | |
| 431 | m.MeshType = Enum.MeshType.Wedge | |
| 432 | p = Instance.new("Part", Model)
| |
| 433 | p.Name = "Part" | |
| 434 | p.TopSurface = 0 | |
| 435 | p.BottomSurface = 0 | |
| 436 | p.formFactor = "Custom" | |
| 437 | p.Size = Vector3.new(2.60, 11, 2.39) | |
| 438 | p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 439 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 440 | p.Transparency = 0 | |
| 441 | p.Reflectance = .1 | |
| 442 | p.Material = Enum.Material.Plastic | |
| 443 | p = Instance.new("Part", Model)
| |
| 444 | p.Name = "Part" | |
| 445 | p.TopSurface = 0 | |
| 446 | p.BottomSurface = 0 | |
| 447 | p.formFactor = "Custom" | |
| 448 | p.Size = Vector3.new(5.19, 1, 1) | |
| 449 | p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 450 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 451 | p.Transparency = 0 | |
| 452 | p.Reflectance = .1 | |
| 453 | p.Material = Enum.Material.Plastic | |
| 454 | p = Instance.new("Part", Model)
| |
| 455 | p.Name = "Part" | |
| 456 | p.TopSurface = 0 | |
| 457 | p.BottomSurface = 0 | |
| 458 | p.formFactor = "Custom" | |
| 459 | p.Size = Vector3.new(5, 0.80, 0.79) | |
| 460 | p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 461 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 462 | p.Transparency = 0 | |
| 463 | p.Reflectance = .1 | |
| 464 | p.Material = Enum.Material.Plastic | |
| 465 | m = Instance.new("SpecialMesh")
| |
| 466 | m.Scale = Vector3.new(1, 1, 1) | |
| 467 | m.Parent = p | |
| 468 | m.MeshType = Enum.MeshType.Wedge | |
| 469 | p = Instance.new("Part", Model)
| |
| 470 | p.Name = "Part" | |
| 471 | p.TopSurface = 0 | |
| 472 | p.BottomSurface = 0 | |
| 473 | p.formFactor = "Custom" | |
| 474 | p.Size = Vector3.new(10, 12, 10) | |
| 475 | p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 476 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 477 | p.Transparency = 0 | |
| 478 | p.Reflectance = .1 | |
| 479 | p.Material = Enum.Material.Concrete | |
| 480 | m = Instance.new("CylinderMesh")
| |
| 481 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 482 | m.Parent = p | |
| 483 | p = Instance.new("Part", Model)
| |
| 484 | p.Name = "Part" | |
| 485 | p.TopSurface = 0 | |
| 486 | p.BottomSurface = 0 | |
| 487 | p.formFactor = "Custom" | |
| 488 | p.Size = Vector3.new(0.60, 5.19, 5) | |
| 489 | p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 490 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 491 | p.Transparency = 0 | |
| 492 | p.Reflectance = .1 | |
| 493 | p.Material = Enum.Material.Plastic | |
| 494 | p = Instance.new("Part", Model)
| |
| 495 | p.Name = "Part" | |
| 496 | p.TopSurface = 0 | |
| 497 | p.BottomSurface = 0 | |
| 498 | p.formFactor = "Custom" | |
| 499 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 500 | p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 501 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 502 | p.Transparency = 0 | |
| 503 | p.Reflectance = .1 | |
| 504 | p.Material = Enum.Material.Plastic | |
| 505 | m = Instance.new("SpecialMesh")
| |
| 506 | m.Scale = Vector3.new(1, 1, 1) | |
| 507 | m.Parent = p | |
| 508 | m.MeshType = Enum.MeshType.Wedge | |
| 509 | p = Instance.new("Part", Model)
| |
| 510 | p.Name = "Part" | |
| 511 | p.TopSurface = 0 | |
| 512 | p.BottomSurface = 0 | |
| 513 | p.formFactor = "Custom" | |
| 514 | p.Size = Vector3.new(2.79, 7.40, 0.79) | |
| 515 | p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 516 | p.BrickColor = BrickColor.new("Black")
| |
| 517 | p.Transparency = 0 | |
| 518 | p.Reflectance = .1 | |
| 519 | p.Material = Enum.Material.Plastic | |
| 520 | p = Instance.new("Part", Model)
| |
| 521 | p.Name = "Part" | |
| 522 | p.TopSurface = 0 | |
| 523 | p.BottomSurface = 0 | |
| 524 | p.formFactor = "Custom" | |
| 525 | p.Size = Vector3.new(5.40, 11, 10) | |
| 526 | p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 527 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 528 | p.Transparency = 0 | |
| 529 | p.Reflectance = .1 | |
| 530 | p.Material = Enum.Material.Plastic | |
| 531 | p = Instance.new("Part", Model)
| |
| 532 | p.Name = "Part" | |
| 533 | p.TopSurface = 0 | |
| 534 | p.BottomSurface = 0 | |
| 535 | p.formFactor = "Custom" | |
| 536 | p.Size = Vector3.new(11, 0.60, 2.39) | |
| 537 | p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 538 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 539 | p.Transparency = 0 | |
| 540 | p.Reflectance = .1 | |
| 541 | p.Material = Enum.Material.Plastic | |
| 542 | m = Instance.new("SpecialMesh")
| |
| 543 | m.Scale = Vector3.new(1, 1, 1) | |
| 544 | m.Parent = p | |
| 545 | m.MeshType = Enum.MeshType.Wedge | |
| 546 | p = Instance.new("Part", Model)
| |
| 547 | p.Name = "Part" | |
| 548 | p.TopSurface = 0 | |
| 549 | p.BottomSurface = 0 | |
| 550 | p.formFactor = "Custom" | |
| 551 | p.Size = Vector3.new(4, 13, 1) | |
| 552 | p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 553 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 554 | p.Transparency = 0 | |
| 555 | p.Reflectance = .1 | |
| 556 | p.Material = Enum.Material.Plastic | |
| 557 | p = Instance.new("Part", Model)
| |
| 558 | p.Name = "Part" | |
| 559 | p.TopSurface = 0 | |
| 560 | p.BottomSurface = 0 | |
| 561 | p.formFactor = "Custom" | |
| 562 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 563 | p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) | |
| 564 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 565 | p.Transparency = 0 | |
| 566 | p.Reflectance = .1 | |
| 567 | p.Material = Enum.Material.Plastic | |
| 568 | m = Instance.new("SpecialMesh")
| |
| 569 | m.Scale = Vector3.new(1, 1, 1) | |
| 570 | m.Parent = p | |
| 571 | m.MeshType = Enum.MeshType.Wedge | |
| 572 | p = Instance.new("Part", Model)
| |
| 573 | p.Name = "Part" | |
| 574 | p.TopSurface = 0 | |
| 575 | p.BottomSurface = 0 | |
| 576 | p.formFactor = "Custom" | |
| 577 | p.Size = Vector3.new(1, 1, 4.59) | |
| 578 | p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 579 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 580 | p.Transparency = 0 | |
| 581 | p.Reflectance = .1 | |
| 582 | p.Material = Enum.Material.Plastic | |
| 583 | p = Instance.new("Part", Model)
| |
| 584 | p.Name = "Part" | |
| 585 | p.TopSurface = 0 | |
| 586 | p.BottomSurface = 0 | |
| 587 | p.formFactor = "Custom" | |
| 588 | p.Size = Vector3.new(1.99, 1, 1) | |
| 589 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 590 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 591 | p.Transparency = 0 | |
| 592 | p.Reflectance = .1 | |
| 593 | p.Material = Enum.Material.Plastic | |
| 594 | p = Instance.new("Part", Model)
| |
| 595 | p.Name = "Part" | |
| 596 | p.TopSurface = 0 | |
| 597 | p.BottomSurface = 0 | |
| 598 | p.formFactor = "Custom" | |
| 599 | p.Size = Vector3.new(1, 1, 4.59) | |
| 600 | p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 601 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 602 | p.Transparency = 0 | |
| 603 | p.Reflectance = .1 | |
| 604 | p.Material = Enum.Material.Plastic | |
| 605 | p = Instance.new("Part", Model)
| |
| 606 | p.Name = "Part" | |
| 607 | p.TopSurface = 0 | |
| 608 | p.BottomSurface = 0 | |
| 609 | p.formFactor = "Custom" | |
| 610 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 611 | p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) | |
| 612 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 613 | p.Transparency = 0 | |
| 614 | p.Reflectance = .1 | |
| 615 | p.Material = Enum.Material.Plastic | |
| 616 | m = Instance.new("SpecialMesh")
| |
| 617 | m.Scale = Vector3.new(1, 1, 1) | |
| 618 | m.Parent = p | |
| 619 | m.MeshType = Enum.MeshType.Wedge | |
| 620 | ||
| 621 | Spawn = function() | |
| 622 | Modelc = Model:clone() | |
| 623 | for _, v in pairs(Modelc:children()) do | |
| 624 | if v.className == "Part" then | |
| 625 | if v.Name ~= "Center" then | |
| 626 | w = Instance.new("Weld")
| |
| 627 | w.Part0 = Modelc.Center | |
| 628 | w.Part1 = v | |
| 629 | w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) | |
| 630 | w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) | |
| 631 | w.Parent = w.Part0 | |
| 632 | end | |
| 633 | end | |
| 634 | end | |
| 635 | return Modelc | |
| 636 | end | |
| 637 | ||
| 638 | CameraRadius = 66 | |
| 639 | TimeStopRadius = 66 | |
| 640 | ||
| 641 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 642 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 643 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 644 | - | vPlayer = game.Players.LocalPlayer |
| 644 | + | |
| 645 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 646 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 647 | LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 648 | LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 649 | NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 650 | NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 651 | RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 652 | RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 653 | ||
| 654 | getWelds = function(c) --designate weld variables | |
| 655 | local t = c.Torso | |
| 656 | local hrp = c.HumanoidRootPart.RootJoint | |
| 657 | RightShoulder = t:FindFirstChild("Right Shoulder")
| |
| 658 | LeftShoulder = t:FindFirstChild("Left Shoulder")
| |
| 659 | RightHip = t:FindFirstChild("Right Hip")
| |
| 660 | LeftHip = t:FindFirstChild("Left Hip")
| |
| 661 | RootJoint = hrp | |
| 662 | Neck = t:FindFirstChild("Neck")
| |
| 663 | end | |
| 664 | resetWelds = function(ext, occ) --extent 1-3; occlusion | |
| 665 | --1 == reset desiredangle/currentangle | |
| 666 | --2 == reset C0/C1 | |
| 667 | --3 == reset both des/cur/c0/c1 | |
| 668 | local r = {
| |
| 669 | RightShoulder, | |
| 670 | LeftShoulder, | |
| 671 | RightHip, | |
| 672 | LeftHip, | |
| 673 | RootJoint, | |
| 674 | Neck, | |
| 675 | Grip | |
| 676 | } | |
| 677 | for _, v in pairs(r) do | |
| 678 | for i = 1, #occ do | |
| 679 | if occ[i] == v then | |
| 680 | table.remove(r, _) | |
| 681 | end | |
| 682 | end | |
| 683 | end | |
| 684 | for _, v in pairs(r) do | |
| 685 | if v.Name == "Right Shoulder" then | |
| 686 | if ext == 1 then | |
| 687 | v.DesiredAngle = 0 | |
| 688 | v.CurrentAngle = 0 | |
| 689 | elseif ext == 2 then | |
| 690 | v.C0 = RightShoulderC0 | |
| 691 | v.C1 = RightShoulderC1 | |
| 692 | elseif ext == 3 then | |
| 693 | v.DesiredAngle = 0 | |
| 694 | v.CurrentAngle = 0 | |
| 695 | v.C0 = RightShoulderC0 | |
| 696 | v.C1 = RightShoulderC1 | |
| 697 | end | |
| 698 | elseif v.Name == "Left Shoulder" then | |
| 699 | if ext == 1 then | |
| 700 | v.DesiredAngle = 0 | |
| 701 | v.CurrentAngle = 0 | |
| 702 | elseif ext == 2 then | |
| 703 | v.C0 = LeftShoulderC0 | |
| 704 | v.C1 = LeftShoulderC1 | |
| 705 | elseif ext == 3 then | |
| 706 | v.DesiredAngle = 0 | |
| 707 | v.CurrentAngle = 0 | |
| 708 | v.C0 = LeftShoulderC0 | |
| 709 | v.C1 = LeftShoulderC1 | |
| 710 | end | |
| 711 | elseif v.Name == "Right Hip" then | |
| 712 | if ext == 1 then | |
| 713 | v.DesiredAngle = 0 | |
| 714 | v.CurrentAngle = 0 | |
| 715 | elseif ext == 2 then | |
| 716 | v.C0 = RightHipC0 | |
| 717 | v.C1 = RightHipC1 | |
| 718 | elseif ext == 3 then | |
| 719 | v.DesiredAngle = 0 | |
| 720 | v.CurrentAngle = 0 | |
| 721 | v.C0 = RightHipC0 | |
| 722 | v.C1 = RightHipC1 | |
| 723 | end | |
| 724 | elseif v.Name == "Left Hip" then | |
| 725 | if ext == 1 then | |
| 726 | v.DesiredAngle = 0 | |
| 727 | v.CurrentAngle = 0 | |
| 728 | elseif ext == 2 then | |
| 729 | v.C0 = LeftHipC0 | |
| 730 | v.C1 = LeftHipC1 | |
| 731 | elseif ext == 3 then | |
| 732 | v.DesiredAngle = 0 | |
| 733 | v.CurrentAngle = 0 | |
| 734 | v.C0 = LeftHipC0 | |
| 735 | v.C1 = LeftHipC1 | |
| 736 | end | |
| 737 | elseif v.Name == "Neck" then | |
| 738 | if ext == 1 then | |
| 739 | v.DesiredAngle = 0 | |
| 740 | v.CurrentAngle = 0 | |
| 741 | elseif ext == 2 then | |
| 742 | v.C0 = NeckC0 | |
| 743 | v.C1 = NeckC1 | |
| 744 | elseif ext == 3 then | |
| 745 | v.DesiredAngle = 0 | |
| 746 | v.CurrentAngle = 0 | |
| 747 | v.C0 = NeckC0 | |
| 748 | v.C1 = NeckC1 | |
| 749 | end | |
| 750 | elseif v.Name == "RootJoint" then | |
| 751 | if ext == 1 then | |
| 752 | v.DesiredAngle = 0 | |
| 753 | v.CurrentAngle = 0 | |
| 754 | elseif ext == 2 then | |
| 755 | v.C0 = RootJointC0 | |
| 756 | v.C1 = RootJointC1 | |
| 757 | elseif ext == 3 then | |
| 758 | v.DesiredAngle = 0 | |
| 759 | v.CurrentAngle = 0 | |
| 760 | v.C0 = RootJointC0 | |
| 761 | v.C1 = RootJointC1 | |
| 762 | end | |
| 763 | elseif v.Name == "RightGrip" then | |
| 764 | if ext == 1 then | |
| 765 | elseif ext == 2 then | |
| 766 | Grip.C0 = nGrip.C0 | |
| 767 | Grip.C1 = nGrip.C1 | |
| 768 | elseif ext == 3 then | |
| 769 | Grip.C0 = nGrip.C0 | |
| 770 | Grip.C1 = nGrip.C1 | |
| 771 | end | |
| 772 | end | |
| 773 | end | |
| 774 | end | |
| 775 | ||
| 776 | ||
| 777 | doitdocdoit = function() | |
| 778 | if deb == false then | |
| 779 | return | |
| 780 | end | |
| 781 | deb = false | |
| 782 | ||
| 783 | vPlayer = owner | |
| 784 | cPlayer = vPlayer.Character | |
| 785 | Anim = cPlayer.Animate | |
| 786 | Anim.Disabled = true | |
| 787 | Hum = cPlayer.Humanoid | |
| 788 | Hum.Name = "NOPE" | |
| 789 | Hum.WalkSpeed = 0 | |
| 790 | getWelds(cPlayer) | |
| 791 | resetWelds(3, {})
| |
| 792 | ||
| 793 | bodypos = Instance.new("BodyPosition")
| |
| 794 | bodypos.P = 4000 | |
| 795 | bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 | |
| 796 | bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) | |
| 797 | bodypos.Parent = cPlayer.Torso | |
| 798 | ||
| 799 | dir = cPlayer.HumanoidRootPart.CFrame.lookVector | |
| 800 | CPlayer = cPlayer | |
| 801 | partpos = Instance.new("Part", workspace)
| |
| 802 | partpos.Transparency = 1 | |
| 803 | partpos.CanCollide = false | |
| 804 | partpos.Anchored = true | |
| 805 | partpos.CFrame = cPlayer.Torso.CFrame | |
| 806 | ||
| 807 | sound = Instance.new("Sound")
| |
| 808 | sound.Parent = partpos | |
| 809 | sound.Volume = 1 | |
| 810 | sound.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 811 | -- sound.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 812 | sound2 = Instance.new("Sound")
| |
| 813 | sound2.Parent = workspace.CurrentCamera | |
| 814 | sound2.Volume = 1 | |
| 815 | sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 816 | -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 817 | sound:Play() | |
| 818 | sound2:Play() | |
| 819 | expected = 10 | |
| 820 | did = false | |
| 821 | pooted = 0 | |
| 822 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 823 | pooted = pooted + 1 | |
| 824 | if pooted >= expected + 1 then | |
| 825 | sos:disconnect() | |
| 826 | did = true | |
| 827 | return | |
| 828 | end | |
| 829 | resetWelds(3, {})
| |
| 830 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 831 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 832 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 833 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 834 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 835 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 836 | end) | |
| 837 | --[[sound=Instance.new("Sound")
| |
| 838 | sound.Parent=cPlayer.Torso | |
| 839 | sound.Volume=1 | |
| 840 | sound.SoundId="http://www.roblox.com/asset/?id=316900066" | |
| 841 | sound:Play()]]-- | |
| 842 | while did == false do | |
| 843 | wait() | |
| 844 | end | |
| 845 | ||
| 846 | expected = 10 | |
| 847 | did = false | |
| 848 | pooted = 0 | |
| 849 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 850 | pooted = pooted + 1 | |
| 851 | if pooted >= expected + 1 then | |
| 852 | sos:disconnect() | |
| 853 | did = true | |
| 854 | return | |
| 855 | end | |
| 856 | resetWelds(3, {})
| |
| 857 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 858 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 859 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 860 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 861 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) | |
| 862 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) | |
| 863 | end) | |
| 864 | while did == false do | |
| 865 | wait() | |
| 866 | end | |
| 867 | wait(.2) | |
| 868 | expected = 5 | |
| 869 | did = false | |
| 870 | pooted = 0 | |
| 871 | nubhit = nil | |
| 872 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 873 | pooted = pooted + 1 | |
| 874 | if pooted >= expected + 1 then | |
| 875 | sos:disconnect() | |
| 876 | did = true | |
| 877 | return | |
| 878 | end | |
| 879 | resetWelds(3, {})
| |
| 880 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 881 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 882 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 883 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 884 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) | |
| 885 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) | |
| 886 | if nubhit == nil then | |
| 887 | bodypos.position = bodypos.position + dir * 4 | |
| 888 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) | |
| 889 | --bodypos.position=bodypos.position + dir*9 | |
| 890 | --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) | |
| 891 | end | |
| 892 | if nubhit == nil and pooted >= 2 then | |
| 893 | pos = bodypos.position + dir * 2 | |
| 894 | radi = 6 | |
| 895 | for _, v in pairs(workspace:children()) do | |
| 896 | h = v:FindFirstChild("Humanoid")
| |
| 897 | t = v:FindFirstChild("Torso")
| |
| 898 | if h ~= nil and t ~= nil and v ~= cPlayer then | |
| 899 | if (t.Position - pos).magnitude <= radi then | |
| 900 | print(":>")
| |
| 901 | nubhit = v | |
| 902 | break | |
| 903 | end | |
| 904 | end | |
| 905 | end | |
| 906 | end | |
| 907 | if nubhit ~= nil then | |
| 908 | if nubhit.Torso:FindFirstChild("PART1") == nil then
| |
| 909 | v = Instance.new("BodyVelocity")
| |
| 910 | v.P = 4000 | |
| 911 | v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) | |
| 912 | v.velocity = dir * 4 + Vector3.new(0, 4, 0) | |
| 913 | v.Name = "PART1" | |
| 914 | v.Parent = nubhit.Torso | |
| 915 | game:GetService("Debris"):AddItem(v, 5)
| |
| 916 | coroutine.resume(coroutine.create(function(v) | |
| 917 | for i = 1, 100 do | |
| 918 | v.velocity = v.velocity - Vector3.new(0, .07, 0) | |
| 919 | wait() | |
| 920 | end | |
| 921 | end), v) | |
| 922 | v = Instance.new("BodyGyro")
| |
| 923 | v.P = 20 | |
| 924 | v.D = 30 | |
| 925 | v.maxTorque = Vector3.new(5000000, 5000000, 5000000) | |
| 926 | v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) | |
| 927 | v.Name = "PART1" | |
| 928 | v.Parent = nubhit.Torso | |
| 929 | game:GetService("Debris"):AddItem(v, 5)
| |
| 930 | end | |
| 931 | end | |
| 932 | end) | |
| 933 | while did == false do | |
| 934 | wait() | |
| 935 | end | |
| 936 | if nubhit == nil then | |
| 937 | sound:Stop() | |
| 938 | wait(.5) | |
| 939 | sound2:Stop() | |
| 940 | else | |
| 941 | expected = 32 | |
| 942 | did = false | |
| 943 | pooted = 0 | |
| 944 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 945 | pooted = pooted + 1 | |
| 946 | if pooted >= expected + 1 then | |
| 947 | sos:disconnect() | |
| 948 | did = true | |
| 949 | return | |
| 950 | end | |
| 951 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) | |
| 952 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) | |
| 953 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 954 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 955 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) | |
| 956 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) | |
| 957 | bodypos.position = bodypos.position + dir * .05 | |
| 958 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) | |
| 959 | end) | |
| 960 | while did == false do | |
| 961 | wait() | |
| 962 | end | |
| 963 | bodypos.Parent = nil | |
| 964 | expected = 12 | |
| 965 | did = false | |
| 966 | pooted = 0 | |
| 967 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 968 | pooted = pooted + 1 | |
| 969 | if pooted >= expected + 1 then | |
| 970 | sos:disconnect() | |
| 971 | did = true | |
| 972 | return | |
| 973 | end | |
| 974 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) | |
| 975 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) | |
| 976 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 977 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 978 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) | |
| 979 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) | |
| 980 | end) | |
| 981 | ||
| 982 | while did == false do | |
| 983 | wait() | |
| 984 | end | |
| 985 | expected = 6 | |
| 986 | did = false | |
| 987 | pooted = 0 | |
| 988 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 989 | pooted = pooted + 1 | |
| 990 | if pooted >= expected + 1 then | |
| 991 | sos:disconnect() | |
| 992 | did = true | |
| 993 | return | |
| 994 | end | |
| 995 | resetWelds(3, {})
| |
| 996 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) | |
| 997 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) | |
| 998 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 999 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1000 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) | |
| 1001 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) | |
| 1002 | print(":(")
| |
| 1003 | end) | |
| 1004 | wait(.3) | |
| 1005 | while did == false do | |
| 1006 | wait() | |
| 1007 | end | |
| 1008 | resetWelds(3, {
| |
| 1009 | "Neck" | |
| 1010 | }) | |
| 1011 | expected = 5 | |
| 1012 | did = false | |
| 1013 | pooted = 0 | |
| 1014 | p = Instance.new("Part", workspace)
| |
| 1015 | p.Name = "ORB" | |
| 1016 | p.TopSurface = 0 | |
| 1017 | p.BottomSurface = 0 | |
| 1018 | p.formFactor = "Custom" | |
| 1019 | p.CFrame = cPlayer.Torso.CFrame | |
| 1020 | m = Instance.new("SpecialMesh", p)
| |
| 1021 | m.MeshType = "Sphere" | |
| 1022 | p.BrickColor = BrickColor:White() | |
| 1023 | p.Size = Vector3.new(1, 1, 1) | |
| 1024 | p.CanCollide = false | |
| 1025 | p.Anchored = true | |
| 1026 | game:GetService("Debris"):AddItem(p, 5)
| |
| 1027 | coroutine.resume(coroutine.create(function(p) | |
| 1028 | nubhit.Torso.Anchored = true | |
| 1029 | for i = 1, 10 do | |
| 1030 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) | |
| 1031 | p.Transparency = .5 + i / 20 | |
| 1032 | wait() | |
| 1033 | end | |
| 1034 | p:Remove() | |
| 1035 | end), p) | |
| 1036 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1037 | pooted = pooted + 1 | |
| 1038 | if pooted >= expected + 1 then | |
| 1039 | sos:disconnect() | |
| 1040 | did = true | |
| 1041 | return | |
| 1042 | end | |
| 1043 | resetWelds(3, {})
| |
| 1044 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) | |
| 1045 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) | |
| 1046 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) | |
| 1047 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) | |
| 1048 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) | |
| 1049 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) | |
| 1050 | print(":(")
| |
| 1051 | end) | |
| 1052 | ||
| 1053 | while did == false do | |
| 1054 | wait() | |
| 1055 | end | |
| 1056 | wait(1) | |
| 1057 | expected = 5 | |
| 1058 | did = false | |
| 1059 | pooted = 0 | |
| 1060 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1061 | pooted = pooted + 1 | |
| 1062 | if pooted >= expected + 1 then | |
| 1063 | sos:disconnect() | |
| 1064 | did = true | |
| 1065 | return | |
| 1066 | end | |
| 1067 | resetWelds(3, {})
| |
| 1068 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 1069 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1070 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 1071 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 1072 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 1073 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 1074 | print(":(")
| |
| 1075 | end) | |
| 1076 | while did == false do | |
| 1077 | wait() | |
| 1078 | end | |
| 1079 | wait(.8) | |
| 1080 | expected = 5 | |
| 1081 | did = false | |
| 1082 | pooted = 0 | |
| 1083 | bodypos.Parent = cPlayer.Torso | |
| 1084 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1085 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1086 | pooted = pooted + 1 | |
| 1087 | if pooted >= expected + 1 then | |
| 1088 | sos:disconnect() | |
| 1089 | did = true | |
| 1090 | return | |
| 1091 | end | |
| 1092 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) | |
| 1093 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) | |
| 1094 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) | |
| 1095 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) | |
| 1096 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) | |
| 1097 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 1098 | ||
| 1099 | bodypos.position = bodypos.position + Vector3.new(0, 240, 0) | |
| 1100 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0) | |
| 1101 | ||
| 1102 | print(":(")
| |
| 1103 | end) | |
| 1104 | local DIOPLS = Instance.new("Sound", cPlayer.Torso)
| |
| 1105 | DIOPLS.SoundId = "rbxassetid://988225348" | |
| 1106 | DIOPLS.Volume = 6 | |
| 1107 | DIOPLS:Play() | |
| 1108 | Instance.new("DistortionSoundEffect", DIOPLS).Level = 1
| |
| 1109 | game:GetService("Debris"):AddItem(DIOPLS, 1000000000000000000)
| |
| 1110 | while did == false do | |
| 1111 | wait() | |
| 1112 | end | |
| 1113 | wait(1.3) | |
| 1114 | LOL = Spawn() | |
| 1115 | LOL.Parent = workspace | |
| 1116 | LOL:MakeJoints() | |
| 1117 | LOL:MoveTo(cPlayer.Torso.CFrame.p) | |
| 1118 | C = LOL.Center | |
| 1119 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) | |
| 1120 | ||
| 1121 | bb = Instance.new("BodyPosition")
| |
| 1122 | bb.Parent = C | |
| 1123 | bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) | |
| 1124 | bb.position = bb.Parent.Position | |
| 1125 | C.CFrame = CFrame.new(bb.position) | |
| 1126 | orig = bb.position | |
| 1127 | ||
| 1128 | gg = Instance.new("BodyGyro")
| |
| 1129 | gg.P = 15000 | |
| 1130 | gg.D = 100 | |
| 1131 | gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) | |
| 1132 | gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) | |
| 1133 | gg.Parent = C | |
| 1134 | ||
| 1135 | expected = 80 | |
| 1136 | did = false | |
| 1137 | pooted = 0 | |
| 1138 | ||
| 1139 | resetWelds(3, {})
| |
| 1140 | ||
| 1141 | Hum.PlatformStand = true | |
| 1142 | ||
| 1143 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) | |
| 1144 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) | |
| 1145 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) | |
| 1146 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) | |
| 1147 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) | |
| 1148 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1149 | ||
| 1150 | bodypos.Parent = nil | |
| 1151 | w = Instance.new("Weld")
| |
| 1152 | w.Part0 = C | |
| 1153 | w.Part1 = cPlayer.Torso | |
| 1154 | w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) | |
| 1155 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1156 | w.Parent = w.Part0 | |
| 1157 | ||
| 1158 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1159 | pooted = pooted + 1 | |
| 1160 | if pooted >= expected + 1 then | |
| 1161 | sos:disconnect() | |
| 1162 | did = true | |
| 1163 | return | |
| 1164 | end | |
| 1165 | ||
| 1166 | bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) | |
| 1167 | C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) | |
| 1168 | print(":(")
| |
| 1169 | end) | |
| 1170 | ||
| 1171 | while did == false do | |
| 1172 | wait() | |
| 1173 | end | |
| 1174 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) | |
| 1175 | C.CFrame = C.CFrame * CFrame.new(8, 0, 0) | |
| 1176 | bl2 = Instance.new("Part")
| |
| 1177 | bl2.TopSurface = 0 | |
| 1178 | bl2.BottomSurface = 0 | |
| 1179 | bl2.CanCollide = false | |
| 1180 | bl2.formFactor = "Symmetric" | |
| 1181 | local ShockWaveSound = Instance.new("Sound", bl2)
| |
| 1182 | ShockWaveSound.SoundId = "rbxassetid://138186576" | |
| 1183 | ShockWaveSound.Pitch = 0.8 | |
| 1184 | ShockWaveSound.Volume = 1 | |
| 1185 | ShockWaveSound:Play() | |
| 1186 | Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1
| |
| 1187 | m = Instance.new("SpecialMesh")
| |
| 1188 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1189 | m.Scale = Vector3.new(1, 4, 1) | |
| 1190 | m.Parent = bl2 | |
| 1191 | bl2.Size = Vector3.new(1, 1, 1) | |
| 1192 | bl2.Anchored = false | |
| 1193 | bl2.Name = "c" | |
| 1194 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 1195 | bl2.BrickColor = BrickColor.new("White")
| |
| 1196 | bl2.Parent = CPlayer | |
| 1197 | coroutine.resume(coroutine.create(function(p) | |
| 1198 | for i = 1, 10 do | |
| 1199 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) | |
| 1200 | p.Transparency = .25 + i * .075 | |
| 1201 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) | |
| 1202 | wait() | |
| 1203 | end | |
| 1204 | p:Remove() | |
| 1205 | end), bl2) | |
| 1206 | bl2.Anchored = true | |
| 1207 | ||
| 1208 | bl2 = Instance.new("Part")
| |
| 1209 | bl2.TopSurface = 0 | |
| 1210 | bl2.BottomSurface = 0 | |
| 1211 | bl2.CanCollide = false | |
| 1212 | bl2.formFactor = "Symmetric" | |
| 1213 | m = Instance.new("SpecialMesh")
| |
| 1214 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1215 | m.Scale = Vector3.new(1, 6, 1) | |
| 1216 | m.Parent = bl2 | |
| 1217 | bl2.Size = Vector3.new(1, 1, 1) | |
| 1218 | bl2.Anchored = false | |
| 1219 | bl2.Name = "c" | |
| 1220 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 1221 | bl2.BrickColor = BrickColor.new("White")
| |
| 1222 | bl2.Parent = CPlayer | |
| 1223 | coroutine.resume(coroutine.create(function(p) | |
| 1224 | for i = 1, 20 do | |
| 1225 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) | |
| 1226 | p.Transparency = i / 20 | |
| 1227 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) | |
| 1228 | wait() | |
| 1229 | end | |
| 1230 | p:Remove() | |
| 1231 | end), bl2) | |
| 1232 | bl2.Anchored = true | |
| 1233 | ||
| 1234 | gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) | |
| 1235 | expected = 3 | |
| 1236 | did = false | |
| 1237 | pooted = 0 | |
| 1238 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1239 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1240 | pooted = pooted + 1 | |
| 1241 | if pooted >= expected + 1 then | |
| 1242 | sos:disconnect() | |
| 1243 | did = true | |
| 1244 | return | |
| 1245 | end | |
| 1246 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1247 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1248 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) | |
| 1249 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) | |
| 1250 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1251 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 1252 | ||
| 1253 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 1254 | ||
| 1255 | print(":(")
| |
| 1256 | end) | |
| 1257 | while did == false do | |
| 1258 | wait() | |
| 1259 | end | |
| 1260 | wait(11.9) | |
| 1261 | expected = 5 | |
| 1262 | did = false | |
| 1263 | pooted = 0 | |
| 1264 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1265 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1266 | pooted = pooted + 1 | |
| 1267 | if pooted >= expected + 1 then | |
| 1268 | sos:disconnect() | |
| 1269 | did = true | |
| 1270 | return | |
| 1271 | end | |
| 1272 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1273 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1274 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) | |
| 1275 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) | |
| 1276 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 1277 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) | |
| 1278 | ||
| 1279 | w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 1280 | ||
| 1281 | print(":(")
| |
| 1282 | end) | |
| 1283 | while did == false do | |
| 1284 | wait() | |
| 1285 | end | |
| 1286 | expected = 505 | |
| 1287 | did = false | |
| 1288 | pooted = 0 | |
| 1289 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1290 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1291 | pooted = pooted + 1 | |
| 1292 | if pooted >= expected + 1 then | |
| 1293 | sos:disconnect() | |
| 1294 | did = true | |
| 1295 | return | |
| 1296 | end | |
| 1297 | resetWelds(3, {
| |
| 1298 | RightHip, | |
| 1299 | LeftHip, | |
| 1300 | RootJoint, | |
| 1301 | Neck | |
| 1302 | }) | |
| 1303 | RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) | |
| 1304 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) | |
| 1305 | RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) | |
| 1306 | LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) | |
| 1307 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) | |
| 1308 | RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) | |
| 1309 | w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1310 | C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) | |
| 1311 | ||
| 1312 | if pooted / 2 == math.floor(pooted / 2) then | |
| 1313 | p = cPlayer["Right Arm"]:clone() | |
| 1314 | p.Anchored = true | |
| 1315 | p.CanCollide = false | |
| 1316 | p.Parent = workspace | |
| 1317 | p.Transparency = .5 | |
| 1318 | game:GetService("Debris"):AddItem(p, .2)
| |
| 1319 | p = cPlayer["Left Arm"]:clone() | |
| 1320 | p.Anchored = true | |
| 1321 | p.CanCollide = false | |
| 1322 | p.Parent = workspace | |
| 1323 | p.Transparency = .5 | |
| 1324 | game:GetService("Debris"):AddItem(p, .2)
| |
| 1325 | ||
| 1326 | p = Instance.new("Part", workspace)
| |
| 1327 | p.Name = "ORB" | |
| 1328 | p.TopSurface = 0 | |
| 1329 | p.BottomSurface = 0 | |
| 1330 | p.formFactor = "Custom" | |
| 1331 | p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) | |
| 1332 | m = Instance.new("SpecialMesh", p)
| |
| 1333 | m.MeshType = "Sphere" | |
| 1334 | p.BrickColor = BrickColor:White() | |
| 1335 | p.Size = Vector3.new(.4, .4, .4) | |
| 1336 | p.CanCollide = false | |
| 1337 | p.Anchored = true | |
| 1338 | game:GetService("Debris"):AddItem(p, 5)
| |
| 1339 | coroutine.resume(coroutine.create(function(p) | |
| 1340 | for i = 1, 8 do | |
| 1341 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) | |
| 1342 | p.Transparency = i / 8 | |
| 1343 | wait() | |
| 1344 | end | |
| 1345 | p:Remove() | |
| 1346 | end), p) | |
| 1347 | ||
| 1348 | end | |
| 1349 | ||
| 1350 | print(":)")
| |
| 1351 | end) | |
| 1352 | while did == false do | |
| 1353 | wait() | |
| 1354 | end | |
| 1355 | wait(.5) | |
| 1356 | expected = 20 | |
| 1357 | did = false | |
| 1358 | pooted = 0 | |
| 1359 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1360 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1361 | pooted = pooted + 1 | |
| 1362 | if pooted >= expected + 1 then | |
| 1363 | sos:disconnect() | |
| 1364 | did = true | |
| 1365 | return | |
| 1366 | end | |
| 1367 | resetWelds(3, {
| |
| 1368 | Neck, | |
| 1369 | RootJoint, | |
| 1370 | RightHip, | |
| 1371 | LeftHip | |
| 1372 | - | Tool.Parent = game.Players.LocalPlayer.Backpack |
| 1372 | + | |
| 1373 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) | |
| 1374 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) | |
| 1375 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1376 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) | |
| 1377 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) | |
| 1378 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1379 | w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) | |
| 1380 | print(":)")
| |
| 1381 | end) | |
| 1382 | while did == false do | |
| 1383 | wait() | |
| 1384 | end | |
| 1385 | wait(2) | |
| 1386 | expected = 5 | |
| 1387 | did = false | |
| 1388 | pooted = 0 | |
| 1389 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1390 | w.Parent = nil | |
| 1391 | bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) | |
| 1392 | poo = cPlayer.Torso.CFrame.lookVector | |
| 1393 | cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) | |
| 1394 | bodypos.Parent = cPlayer.Torso | |
| 1395 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1396 | pooted = pooted + 1 | |
| 1397 | if pooted >= expected + 1 then | |
| 1398 | sos:disconnect() | |
| 1399 | did = true | |
| 1400 | return | |
| 1401 | end | |
| 1402 | resetWelds(3, {})
| |
| 1403 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) | |
| 1404 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) | |
| 1405 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) | |
| 1406 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) | |
| 1407 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) | |
| 1408 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) | |
| 1409 | print(":)")
| |
| 1410 | end) | |
| 1411 | while did == false do | |
| 1412 | wait() | |
| 1413 | end | |
| 1414 | wait(.7) | |
| 1415 | expected = 5 | |
| 1416 | did = false | |
| 1417 | pooted = 0 | |
| 1418 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1419 | pooted = pooted + 1 | |
| 1420 | if pooted >= expected + 1 then | |
| 1421 | sos:disconnect() | |
| 1422 | did = true | |
| 1423 | return | |
| 1424 | end | |
| 1425 | resetWelds(3, {})
| |
| 1426 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 1427 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1428 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 1429 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 1430 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 1431 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 1432 | print(":(")
| |
| 1433 | end) | |
| 1434 | while did == false do | |
| 1435 | wait() | |
| 1436 | end | |
| 1437 | wait(.2) | |
| 1438 | expected = 10 | |
| 1439 | did = false | |
| 1440 | pooted = 0 | |
| 1441 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1442 | g = Instance.new("BodyGyro")
| |
| 1443 | g.Parent = cPlayer.Torso | |
| 1444 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1445 | pooted = pooted + 1 | |
| 1446 | if pooted >= expected + 1 then | |
| 1447 | sos:disconnect() | |
| 1448 | did = true | |
| 1449 | return | |
| 1450 | end | |
| 1451 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) | |
| 1452 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) | |
| 1453 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) | |
| 1454 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) | |
| 1455 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 1456 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1457 | if pooted >= 2 then | |
| 1458 | bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 | |
| 1459 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 | |
| 1460 | end | |
| 1461 | print(":(")
| |
| 1462 | end) | |
| 1463 | while did == false do | |
| 1464 | wait() | |
| 1465 | end | |
| 1466 | wait(.2) | |
| 1467 | bodypos:Remove() | |
| 1468 | wait(.5) | |
| 1469 | ||
| 1470 | e = Instance.new("Explosion")
| |
| 1471 | e.BlastRadius = 30 | |
| 1472 | e.Position = C.Position | |
| 1473 | e.BlastPressure = e.BlastPressure * 2.5 | |
| 1474 | e.Parent = workspace | |
| 1475 | s = Instance.new("Sound", C)
| |
| 1476 | s.SoundId = "rbxassetid://258057783" | |
| 1477 | s.Volume = 1 | |
| 1478 | s:Play() | |
| 1479 | Instance.new("DistortionSoundEffect", s).Level = 1
| |
| 1480 | g:Remove() | |
| 1481 | --dun | |
| 1482 | nubhit.Torso.Anchored = false | |
| 1483 | Hum.PlatformStand = false | |
| 1484 | C.Anchored = true | |
| 1485 | ||
| 1486 | coroutine.resume(coroutine.create(function(t) | |
| 1487 | wait(3) | |
| 1488 | p = Instance.new("Sound")
| |
| 1489 | p.SoundId = "http://www.roblox.com/asset/?id=154677261" | |
| 1490 | p.Parent = t | |
| 1491 | p.Volume = 1 | |
| 1492 | p:Play() | |
| 1493 | end), C) | |
| 1494 | game:GetService("Debris"):AddItem(LOL, 5)
| |
| 1495 | end | |
| 1496 | resetWelds(3, {})
| |
| 1497 | workspace.CurrentCamera.CameraType = "Custom" | |
| 1498 | Hum.WalkSpeed = 16 | |
| 1499 | Hum.Name = "Humanoid" | |
| 1500 | bodypos:Remove() | |
| 1501 | partpos:Remove() | |
| 1502 | Anim.Parent = nil | |
| 1503 | wait(.1) | |
| 1504 | Anim.Disabled = false | |
| 1505 | Anim.Parent = cPlayer | |
| 1506 | deb = true | |
| 1507 | end | |
| 1508 | ||
| 1509 | Tool = Instance.new("HopperBin")
| |
| 1510 | Tool.Name = "ROAD ROLLER DA" | |
| 1511 | Tool.Parent = owner | |
| 1512 | Tool.Selected:connect(function(mouse) | |
| 1513 | mouse.Button1Down:connect(function() | |
| 1514 | doitdocdoit() | |
| 1515 | end) | |
| 1516 | end) | |
| 1517 | ||
| 1518 | end |