SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has convert to FE by who i don't know? | |
| 2 | ||
| 3 | ----------------------------------------------------- | |
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,game,owner = owner,game | |
| 6 | local RealPlayer = Player | |
| 7 | do | |
| 8 | print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
| |
| 9 | local rp = RealPlayer | |
| 10 | script.Parent = rp.Character | |
| 11 | ||
| 12 | --RemoteEvent for communicating | |
| 13 | local Event = Instance.new("RemoteEvent")
| |
| 14 | Event.Name = "UserInput_Event" | |
| 15 | ||
| 16 | --Fake event to make stuff like Mouse.KeyDown work | |
| 17 | local function fakeEvent() | |
| 18 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 19 | t.connect = t.Connect | |
| 20 | return t | |
| 21 | end | |
| 22 | ||
| 23 | --Creating fake input objects with fake variables | |
| 24 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 25 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 26 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 27 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 28 | end} | |
| 29 | --Merged 2 functions into one by checking amount of arguments | |
| 30 | CAS.UnbindAction = CAS.BindAction | |
| 31 | ||
| 32 | --This function will trigger the events that have been :Connect()'ed | |
| 33 | local function te(self,ev,...) | |
| 34 | local t = m[ev] | |
| 35 | if t and t._fakeEvent then | |
| 36 | for _,f in pairs(t.Functions) do | |
| 37 | f(...) | |
| 38 | end | |
| 39 | end | |
| 40 | end | |
| 41 | m.TrigEvent = te | |
| 42 | UIS.TrigEvent = te | |
| 43 | ||
| 44 | Event.OnServerEvent:Connect(function(plr,io) | |
| 45 | if plr~=rp then return end | |
| 46 | m.Target = io.Target | |
| 47 | m.Hit = io.Hit | |
| 48 | if not io.isMouse then | |
| 49 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 50 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 51 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | ||
| 68 | local Mouse = Player:GetMouse() | |
| 69 | local UIS = game:GetService("UserInputService")
| |
| 70 | local input = function(io,a) | |
| 71 | if a then return end | |
| 72 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 73 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 74 | end | |
| 75 | UIS.InputBegan:Connect(input) | |
| 76 | UIS.InputEnded:Connect(input) | |
| 77 | ||
| 78 | local h,t | |
| 79 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 80 | --If player is not moving their mouse, client won't fire events | |
| 81 | while wait(1/30) do | |
| 82 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 83 | h,t=Mouse.Hit,Mouse.Target | |
| 84 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 85 | end | |
| 86 | end]==],Player.Character) | |
| 87 | ||
| 88 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 89 | --Real game object | |
| 90 | local _rg = game | |
| 91 | ||
| 92 | --Metatable for fake service | |
| 93 | local fsmt = {
| |
| 94 | __index = function(self,k) | |
| 95 | local s = rawget(self,"_RealService") | |
| 96 | if s then return s[k] end | |
| 97 | end, | |
| 98 | __newindex = function(self,k,v) | |
| 99 | local s = rawget(self,"_RealService") | |
| 100 | if s then s[k]=v end | |
| 101 | end, | |
| 102 | __call = function(self,...) | |
| 103 | local s = rawget(self,"_RealService") | |
| 104 | if s then return s(...) end | |
| 105 | end | |
| 106 | } | |
| 107 | local function FakeService(t,RealService) | |
| 108 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 109 | return setmetatable(t,fsmt) | |
| 110 | end | |
| 111 | ||
| 112 | --Fake game object | |
| 113 | local g = {
| |
| 114 | GetService = function(self,s) | |
| 115 | return self[s] | |
| 116 | end, | |
| 117 | Players = FakeService({
| |
| 118 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 119 | },"Players"), | |
| 120 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 121 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 122 | } | |
| 123 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 124 | g.service = g.GetService | |
| 125 | ||
| 126 | g.RunService = FakeService({
| |
| 127 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 128 | BindToRenderStep = function(self,name,_,fun) | |
| 129 | ||
| 130 | end, | |
| 131 | UnbindFromRenderStep = function(self,name) | |
| 132 | self._btrs[name]:Disconnect() | |
| 133 | end, | |
| 134 | },"RunService") | |
| 135 | ||
| 136 | setmetatable(g,{
| |
| 137 | __index=function(self,s) | |
| 138 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 139 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 140 | end, | |
| 141 | __newindex = fsmt.__newindex, | |
| 142 | __call = fsmt.__call | |
| 143 | }) | |
| 144 | --Changing owner to fake player object to support owner:GetMouse() | |
| 145 | game,owner = g,g.Players.LocalPlayer | |
| 146 | end | |
| 147 | -- Objects | |
| 148 | ||
| 149 | local ScreenGui = Instance.new("ScreenGui")
| |
| 150 | local TextBox = Instance.new("TextBox")
| |
| 151 | ||
| 152 | ||
| 153 | function MoveSpawn(obj1,PLAYER) | |
| 154 | local playerpos = nil | |
| 155 | if PLAYER:FindFirstChildOfClass('Humanoid') and PLAYER:FindFirstChild('HumanoidRootPart') then
| |
| 156 | playerpos = PLAYER.HumanoidRootPart.Position - Vector3.new(0,PLAYER:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
| |
| 157 | end | |
| 158 | print(playerpos) | |
| 159 | for _,part in pairs (obj1:GetChildren()) do | |
| 160 | if part:IsA('BasePart') and playerpos then
| |
| 161 | print('thefuck')
| |
| 162 | print(playerpos) | |
| 163 | part.CFrame = part.CFrame + playerpos + Vector3.new(-2.6,-20,-143) | |
| 164 | end | |
| 165 | end | |
| 166 | end | |
| 167 | ||
| 168 | function ToHell(obj1) | |
| 169 | for i,v in pairs(obj1:GetChildren()) do | |
| 170 | v.CFrame = v.CFrame+Vector3.new(5000,5000,5000) | |
| 171 | end | |
| 172 | end | |
| 173 | ||
| 174 | function MoveBy(obj1,AMNT) | |
| 175 | for i,v in pairs(obj1:GetChildren()) do | |
| 176 | if v:IsA('BasePart') then
| |
| 177 | v.CFrame = v.CFrame + AMNT | |
| 178 | end | |
| 179 | end | |
| 180 | end | |
| 181 | ||
| 182 | function MovePartBy(part,AMNT) | |
| 183 | part.CFrame = part.CFrame+AMNT | |
| 184 | end | |
| 185 | ||
| 186 | -- Properties | |
| 187 | ||
| 188 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 189 | ScreenGui.ResetOnSpawn = false | |
| 190 | ||
| 191 | TextBox.Parent = ScreenGui | |
| 192 | TextBox.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 193 | TextBox.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 194 | TextBox.BorderColor3 = Color3.new(0.47451, 0, 0) | |
| 195 | TextBox.BorderSizePixel = 5 | |
| 196 | TextBox.Position = UDim2.new(0.5, 0, 0.949999988, 0) | |
| 197 | TextBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
| 198 | TextBox.Font = Enum.Font.SourceSans | |
| 199 | TextBox.FontSize = Enum.FontSize.Size14 | |
| 200 | TextBox.Text = "Enter Target's Name (Can be Shortened)" | |
| 201 | TextBox.TextColor3 = Color3.new(0.47451, 0, 0) | |
| 202 | TextBox.TextScaled = true | |
| 203 | TextBox.TextSize = 14 | |
| 204 | TextBox.TextWrapped = true | |
| 205 | ||
| 206 | TextBox.FocusLost:connect(function() | |
| 207 | for i,v in pairs(game.Players:GetChildren()) do | |
| 208 | if (string.sub(string.lower(v.Name),1,string.len(TextBox.Text)) == string.lower(TextBox.Text) and string.lower(TextBox.Text) ~= "all" and string.lower(TextBox.Text) ~= "others" and string.lower(TextBox.Text) ~= "me") or string.lower(TextBox.Text) == "all" or (string.lower(TextBox.Text) == "others" and v ~= game.Players.LocalPlayer) or (string.lower(TextBox.Text) == "me" and v == game.Players.LocalPlayer) then | |
| 209 | local coru = coroutine.wrap(function() | |
| 210 | print('elevatoring '..v.Name)
| |
| 211 | local plr = v | |
| 212 | -- 1 - Model | |
| 213 | local obj1 = Instance.new("Model")
| |
| 214 | obj1.Parent = workspace | |
| 215 | ||
| 216 | -- 2 - Part | |
| 217 | local obj2 = Instance.new("Part")
| |
| 218 | obj2.CFrame = CFrame.new(Vector3.new(7.60000801, 8.2000227, 143.099991)) * CFrame.Angles(-0, 0, -0) | |
| 219 | obj2.Material = Enum.Material.Neon | |
| 220 | obj2.Size = Vector3.new(0.400000006, 0.200000003, 6.5999999) | |
| 221 | obj2.Anchored = true | |
| 222 | obj2.BrickColor = BrickColor.new("Maroon")
| |
| 223 | obj2.Friction = 0.30000001192093 | |
| 224 | obj2.Shape = Enum.PartType.Block | |
| 225 | obj2.Parent = obj1 | |
| 226 | ||
| 227 | -- 3 - Part | |
| 228 | local obj3 = Instance.new("Part")
| |
| 229 | obj3.CFrame = CFrame.new(Vector3.new(17.550005, 2.40002203, 152.699997)) * CFrame.Angles(-0, 0, -0) | |
| 230 | obj3.Material = Enum.Material.Foil | |
| 231 | obj3.Size = Vector3.new(19.4999981, 0.200000003, 0.200000003) | |
| 232 | obj3.Anchored = true | |
| 233 | obj3.BrickColor = BrickColor.new("Really black")
| |
| 234 | obj3.Friction = 0.30000001192093 | |
| 235 | obj3.Shape = Enum.PartType.Block | |
| 236 | obj3.Parent = obj1 | |
| 237 | ||
| 238 | -- 4 - Wedge | |
| 239 | local obj4 = Instance.new("WedgePart")
| |
| 240 | obj4.CFrame = CFrame.new(Vector3.new(27.300005, 0.107478142, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
| 241 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
| 242 | obj4.Material = Enum.Material.Marble | |
| 243 | obj4.Size = Vector3.new(0.200000003, 1, 1) | |
| 244 | obj4.Anchored = true | |
| 245 | obj4.BrickColor = BrickColor.new("Maroon")
| |
| 246 | obj4.Friction = 0.30000001192093 | |
| 247 | obj4.Name = "Wedge" | |
| 248 | obj4.Parent = obj1 | |
| 249 | ||
| 250 | -- 5 - Part | |
| 251 | local obj5 = Instance.new("Part")
| |
| 252 | obj5.CFrame = CFrame.new(Vector3.new(17.7938519, 0.107021809, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0) | |
| 253 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
| 254 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
| 255 | obj5.Material = Enum.Material.Marble | |
| 256 | obj5.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 257 | obj5.Anchored = true | |
| 258 | obj5.BrickColor = BrickColor.new("Maroon")
| |
| 259 | obj5.Friction = 0.30000001192093 | |
| 260 | obj5.Shape = Enum.PartType.Block | |
| 261 | obj5.Parent = obj1 | |
| 262 | ||
| 263 | -- 6 - Part | |
| 264 | local obj6 = Instance.new("Part")
| |
| 265 | obj6.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 149.850006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 266 | obj6.Material = Enum.Material.Cobblestone | |
| 267 | obj6.Size = Vector3.new(6.90000153, 13, 0.400000006) | |
| 268 | obj6.Anchored = true | |
| 269 | obj6.BrickColor = BrickColor.new("Maroon")
| |
| 270 | obj6.Friction = 0.30000001192093 | |
| 271 | obj6.Shape = Enum.PartType.Block | |
| 272 | obj6.Parent = obj1 | |
| 273 | ||
| 274 | -- 7 - Part | |
| 275 | local obj7 = Instance.new("Part")
| |
| 276 | obj7.CFrame = CFrame.new(Vector3.new(27.4000034, 2.40002203, 143.199997)) * CFrame.Angles(-0, 0, -0) | |
| 277 | obj7.Material = Enum.Material.Foil | |
| 278 | obj7.Size = Vector3.new(0.200000003, 0.200000003, 19.2000008) | |
| 279 | obj7.Anchored = true | |
| 280 | obj7.BrickColor = BrickColor.new("Really black")
| |
| 281 | obj7.Friction = 0.30000001192093 | |
| 282 | obj7.Shape = Enum.PartType.Block | |
| 283 | obj7.Parent = obj1 | |
| 284 | ||
| 285 | -- 8 - Part | |
| 286 | local obj8 = Instance.new("Part")
| |
| 287 | obj8.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 153.199997)) * CFrame.Angles(-0, 0, -0) | |
| 288 | obj8.Material = Enum.Material.Cobblestone | |
| 289 | obj8.Size = Vector3.new(20, 13, 0.200000003) | |
| 290 | obj8.Anchored = true | |
| 291 | obj8.BrickColor = BrickColor.new("Maroon")
| |
| 292 | obj8.Friction = 0.30000001192093 | |
| 293 | obj8.Shape = Enum.PartType.Block | |
| 294 | obj8.Parent = obj1 | |
| 295 | ||
| 296 | -- 9 - Part | |
| 297 | local obj9 = Instance.new("Part")
| |
| 298 | obj9.CFrame = CFrame.new(Vector3.new(7.6000042, 4.05002213, 139.899994)) * CFrame.Angles(-0, 0, -0) | |
| 299 | obj9.Material = Enum.Material.Neon | |
| 300 | obj9.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003) | |
| 301 | obj9.Anchored = true | |
| 302 | obj9.BrickColor = BrickColor.new("Maroon")
| |
| 303 | obj9.Friction = 0.30000001192093 | |
| 304 | obj9.Shape = Enum.PartType.Block | |
| 305 | obj9.Parent = obj1 | |
| 306 | ||
| 307 | -- 10 - Part | |
| 308 | local obj10 = Instance.new("Part")
| |
| 309 | obj10.CFrame = CFrame.new(Vector3.new(17.8000011, 0.100021839, 143.100006)) * CFrame.Angles(-0, 0, -0) | |
| 310 | obj10.TopSurface = Enum.SurfaceType.Smooth | |
| 311 | obj10.BottomSurface = Enum.SurfaceType.Smooth | |
| 312 | obj10.Material = Enum.Material.Wood | |
| 313 | obj10.Size = Vector3.new(20, 0.200000003, 20) | |
| 314 | obj10.Anchored = true | |
| 315 | obj10.BrickColor = BrickColor.new("Black")
| |
| 316 | obj10.Friction = 0.30000001192093 | |
| 317 | obj10.Shape = Enum.PartType.Block | |
| 318 | obj10.Parent = obj1 | |
| 319 | ||
| 320 | -- 11 - Wedge | |
| 321 | local obj11 = Instance.new("WedgePart")
| |
| 322 | obj11.CFrame = CFrame.new(Vector3.new(8.2999897, 0.107478142, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063) | |
| 323 | obj11.TopSurface = Enum.SurfaceType.Smooth | |
| 324 | obj11.Material = Enum.Material.Marble | |
| 325 | obj11.Size = Vector3.new(0.200000003, 1, 1) | |
| 326 | obj11.BottomSurface = Enum.SurfaceType.Smooth | |
| 327 | obj11.Anchored = true | |
| 328 | obj11.BrickColor = BrickColor.new("Maroon")
| |
| 329 | obj11.Friction = 0.30000001192093 | |
| 330 | obj11.Name = "Wedge" | |
| 331 | obj11.Parent = obj1 | |
| 332 | ||
| 333 | -- 12 - Wedge | |
| 334 | local obj12 = Instance.new("WedgePart")
| |
| 335 | obj12.CFrame = CFrame.new(Vector3.new(8.2988987, 0.107478142, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0) | |
| 336 | obj12.TopSurface = Enum.SurfaceType.Smooth | |
| 337 | obj12.Material = Enum.Material.Marble | |
| 338 | obj12.Size = Vector3.new(0.200000003, 1, 1) | |
| 339 | obj12.BottomSurface = Enum.SurfaceType.Smooth | |
| 340 | obj12.Anchored = true | |
| 341 | obj12.BrickColor = BrickColor.new("Maroon")
| |
| 342 | obj12.Friction = 0.30000001192093 | |
| 343 | obj12.Name = "Wedge" | |
| 344 | obj12.Parent = obj1 | |
| 345 | ||
| 346 | -- 13 - Part | |
| 347 | local obj13 = Instance.new("Part")
| |
| 348 | obj13.CFrame = CFrame.new(Vector3.new(17.7979107, 0.107021809, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126) | |
| 349 | obj13.TopSurface = Enum.SurfaceType.Smooth | |
| 350 | obj13.BottomSurface = Enum.SurfaceType.Smooth | |
| 351 | obj13.Material = Enum.Material.Marble | |
| 352 | obj13.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 353 | obj13.Anchored = true | |
| 354 | obj13.BrickColor = BrickColor.new("Maroon")
| |
| 355 | obj13.Friction = 0.30000001192093 | |
| 356 | obj13.Shape = Enum.PartType.Block | |
| 357 | obj13.Parent = obj1 | |
| 358 | ||
| 359 | -- 14 - Wedge | |
| 360 | local obj14 = Instance.new("WedgePart")
| |
| 361 | obj14.CFrame = CFrame.new(Vector3.new(27.2989597, 0.107478142, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0) | |
| 362 | obj14.TopSurface = Enum.SurfaceType.Smooth | |
| 363 | obj14.Material = Enum.Material.Marble | |
| 364 | obj14.Size = Vector3.new(0.200000003, 1, 1) | |
| 365 | obj14.Anchored = true | |
| 366 | obj14.BrickColor = BrickColor.new("Maroon")
| |
| 367 | obj14.Friction = 0.30000001192093 | |
| 368 | obj14.Name = "Wedge" | |
| 369 | obj14.Parent = obj1 | |
| 370 | ||
| 371 | -- 15 - Part | |
| 372 | local obj15 = Instance.new("Part")
| |
| 373 | obj15.CFrame = CFrame.new(Vector3.new(27.8999996, 6.50002193, 143.100006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 374 | obj15.Material = Enum.Material.Cobblestone | |
| 375 | obj15.Size = Vector3.new(20.4000015, 13, 0.200000003) | |
| 376 | obj15.Anchored = true | |
| 377 | obj15.BrickColor = BrickColor.new("Maroon")
| |
| 378 | obj15.Friction = 0.30000001192093 | |
| 379 | obj15.Shape = Enum.PartType.Block | |
| 380 | obj15.Parent = obj1 | |
| 381 | ||
| 382 | -- 16 - Part | |
| 383 | local obj16 = Instance.new("Part")
| |
| 384 | obj16.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 146.299988)) * CFrame.Angles(-0, 0, -0) | |
| 385 | obj16.Material = Enum.Material.Neon | |
| 386 | obj16.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003) | |
| 387 | obj16.Anchored = true | |
| 388 | obj16.BrickColor = BrickColor.new("Maroon")
| |
| 389 | obj16.Friction = 0.30000001192093 | |
| 390 | obj16.Shape = Enum.PartType.Block | |
| 391 | obj16.Parent = obj1 | |
| 392 | ||
| 393 | -- 17 - Part | |
| 394 | local obj17 = Instance.new("Part")
| |
| 395 | obj17.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 133)) * CFrame.Angles(-0, 0, -0) | |
| 396 | obj17.Material = Enum.Material.Cobblestone | |
| 397 | obj17.Size = Vector3.new(20, 13, 0.200000003) | |
| 398 | obj17.Anchored = true | |
| 399 | obj17.BrickColor = BrickColor.new("Maroon")
| |
| 400 | obj17.Friction = 0.30000001192093 | |
| 401 | obj17.Shape = Enum.PartType.Block | |
| 402 | obj17.Parent = obj1 | |
| 403 | ||
| 404 | -- 18 - Part | |
| 405 | local obj18 = Instance.new("Part")
| |
| 406 | obj18.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 136.350006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 407 | obj18.Material = Enum.Material.Cobblestone | |
| 408 | obj18.Size = Vector3.new(6.90000153, 13, 0.400000006) | |
| 409 | obj18.Anchored = true | |
| 410 | obj18.BrickColor = BrickColor.new("Maroon")
| |
| 411 | obj18.Friction = 0.30000001192093 | |
| 412 | obj18.Shape = Enum.PartType.Block | |
| 413 | obj18.Parent = obj1 | |
| 414 | ||
| 415 | -- 19 - Part | |
| 416 | local obj19 = Instance.new("Part")
| |
| 417 | obj19.CFrame = CFrame.new(Vector3.new(7.6000042, 10.6500206, 143.099991)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 418 | obj19.Material = Enum.Material.Cobblestone | |
| 419 | obj19.Size = Vector3.new(6.60000181, 4.69999981, 0.400000006) | |
| 420 | obj19.Anchored = true | |
| 421 | obj19.BrickColor = BrickColor.new("Maroon")
| |
| 422 | obj19.Friction = 0.30000001192093 | |
| 423 | obj19.Shape = Enum.PartType.Block | |
| 424 | obj19.Parent = obj1 | |
| 425 | ||
| 426 | -- 20 - Part | |
| 427 | local obj20 = Instance.new("Part")
| |
| 428 | obj20.CFrame = CFrame.new(Vector3.new(17.6500034, 2.40002203, 133.5)) * CFrame.Angles(-0, 0, -0) | |
| 429 | obj20.Material = Enum.Material.Foil | |
| 430 | obj20.Size = Vector3.new(19.7000008, 0.200000003, 0.200000003) | |
| 431 | obj20.Anchored = true | |
| 432 | obj20.BrickColor = BrickColor.new("Really black")
| |
| 433 | obj20.Friction = 0.30000001192093 | |
| 434 | obj20.Shape = Enum.PartType.Block | |
| 435 | obj20.Parent = obj1 | |
| 436 | ||
| 437 | -- 21 - Door1 | |
| 438 | local obj21 = Instance.new("Part")
| |
| 439 | obj21.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 144.649994)) * CFrame.Angles(-0, 0, -0) | |
| 440 | obj21.Material = Enum.Material.Granite | |
| 441 | obj21.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014) | |
| 442 | obj21.Anchored = true | |
| 443 | obj21.BrickColor = BrickColor.new("Really black")
| |
| 444 | obj21.Friction = 0.30000001192093 | |
| 445 | obj21.Shape = Enum.PartType.Block | |
| 446 | obj21.Name = "Door1" | |
| 447 | obj21.Parent = obj1 | |
| 448 | ||
| 449 | -- 22 - Part | |
| 450 | local obj22 = Instance.new("Part")
| |
| 451 | obj22.CFrame = CFrame.new(Vector3.new(17.8000011, 12.9000273, 143.100006)) * CFrame.Angles(-0, 0, -0) | |
| 452 | obj22.TopSurface = Enum.SurfaceType.Smooth | |
| 453 | obj22.BottomSurface = Enum.SurfaceType.Smooth | |
| 454 | obj22.Material = Enum.Material.Wood | |
| 455 | obj22.Size = Vector3.new(20, 0.200000003, 20) | |
| 456 | obj22.Anchored = true | |
| 457 | obj22.BrickColor = BrickColor.new("Black")
| |
| 458 | obj22.Friction = 0.30000001192093 | |
| 459 | obj22.Shape = Enum.PartType.Block | |
| 460 | obj22.Parent = obj1 | |
| 461 | ||
| 462 | -- 23 - Wedge | |
| 463 | local obj23 = Instance.new("WedgePart")
| |
| 464 | obj23.CFrame = CFrame.new(Vector3.new(8.2999897, 12.9074841, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063) | |
| 465 | obj23.TopSurface = Enum.SurfaceType.Smooth | |
| 466 | obj23.Material = Enum.Material.Marble | |
| 467 | obj23.Size = Vector3.new(0.200000003, 1, 1) | |
| 468 | obj23.BottomSurface = Enum.SurfaceType.Smooth | |
| 469 | obj23.Anchored = true | |
| 470 | obj23.BrickColor = BrickColor.new("Maroon")
| |
| 471 | obj23.Friction = 0.30000001192093 | |
| 472 | obj23.Name = "Wedge" | |
| 473 | obj23.Parent = obj1 | |
| 474 | ||
| 475 | -- 24 - Wedge | |
| 476 | local obj24 = Instance.new("WedgePart")
| |
| 477 | obj24.CFrame = CFrame.new(Vector3.new(8.2988987, 12.9074841, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0) | |
| 478 | obj24.TopSurface = Enum.SurfaceType.Smooth | |
| 479 | obj24.Material = Enum.Material.Marble | |
| 480 | obj24.Size = Vector3.new(0.200000003, 1, 1) | |
| 481 | obj24.BottomSurface = Enum.SurfaceType.Smooth | |
| 482 | obj24.Anchored = true | |
| 483 | obj24.BrickColor = BrickColor.new("Maroon")
| |
| 484 | obj24.Friction = 0.30000001192093 | |
| 485 | obj24.Name = "Wedge" | |
| 486 | obj24.Parent = obj1 | |
| 487 | ||
| 488 | -- 25 - Wedge | |
| 489 | local obj25 = Instance.new("WedgePart")
| |
| 490 | obj25.CFrame = CFrame.new(Vector3.new(27.300005, 12.9074841, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
| 491 | obj25.TopSurface = Enum.SurfaceType.Smooth | |
| 492 | obj25.Material = Enum.Material.Marble | |
| 493 | obj25.Size = Vector3.new(0.200000003, 1, 1) | |
| 494 | obj25.Anchored = true | |
| 495 | obj25.BrickColor = BrickColor.new("Maroon")
| |
| 496 | obj25.Friction = 0.30000001192093 | |
| 497 | obj25.Name = "Wedge" | |
| 498 | obj25.Parent = obj1 | |
| 499 | ||
| 500 | -- 26 - Part | |
| 501 | local obj26 = Instance.new("Part")
| |
| 502 | obj26.CFrame = CFrame.new(Vector3.new(17.7938519, 12.9070272, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0) | |
| 503 | obj26.TopSurface = Enum.SurfaceType.Smooth | |
| 504 | obj26.BottomSurface = Enum.SurfaceType.Smooth | |
| 505 | obj26.Material = Enum.Material.Marble | |
| 506 | obj26.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 507 | obj26.Anchored = true | |
| 508 | obj26.BrickColor = BrickColor.new("Maroon")
| |
| 509 | obj26.Friction = 0.30000001192093 | |
| 510 | obj26.Shape = Enum.PartType.Block | |
| 511 | obj26.Parent = obj1 | |
| 512 | ||
| 513 | -- 27 - Part | |
| 514 | local obj27 = Instance.new("Part")
| |
| 515 | obj27.CFrame = CFrame.new(Vector3.new(17.7979107, 12.9070272, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126) | |
| 516 | obj27.TopSurface = Enum.SurfaceType.Smooth | |
| 517 | obj27.BottomSurface = Enum.SurfaceType.Smooth | |
| 518 | obj27.Material = Enum.Material.Marble | |
| 519 | obj27.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 520 | obj27.Anchored = true | |
| 521 | obj27.BrickColor = BrickColor.new("Maroon")
| |
| 522 | obj27.Friction = 0.30000001192093 | |
| 523 | obj27.Shape = Enum.PartType.Block | |
| 524 | obj27.Parent = obj1 | |
| 525 | ||
| 526 | -- 28 - Door2 | |
| 527 | local obj28 = Instance.new("Part")
| |
| 528 | obj28.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 141.550003)) * CFrame.Angles(-0, 0, -0) | |
| 529 | obj28.Material = Enum.Material.Granite | |
| 530 | obj28.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014) | |
| 531 | obj28.Anchored = true | |
| 532 | obj28.BrickColor = BrickColor.new("Really black")
| |
| 533 | obj28.Friction = 0.30000001192093 | |
| 534 | obj28.Shape = Enum.PartType.Block | |
| 535 | obj28.Name = "Door2" | |
| 536 | obj28.Parent = obj1 | |
| 537 | ||
| 538 | -- 29 - Wedge | |
| 539 | local obj29 = Instance.new("WedgePart")
| |
| 540 | obj29.CFrame = CFrame.new(Vector3.new(27.2989597, 12.9074841, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0) | |
| 541 | obj29.TopSurface = Enum.SurfaceType.Smooth | |
| 542 | obj29.Material = Enum.Material.Marble | |
| 543 | obj29.Size = Vector3.new(0.200000003, 1, 1) | |
| 544 | obj29.Anchored = true | |
| 545 | obj29.BrickColor = BrickColor.new("Maroon")
| |
| 546 | obj29.Friction = 0.30000001192093 | |
| 547 | obj29.Name = "Wedge" | |
| 548 | obj29.Parent = obj1 | |
| 549 | ||
| 550 | -- 30 - Wedge | |
| 551 | local obj30 = Instance.new("WedgePart")
| |
| 552 | obj30.CFrame = CFrame.new(Vector3.new(27.2918797, 12.8000755, 152.600006)) * CFrame.Angles(-0, 0, 1.5707963705063) | |
| 553 | obj30.TopSurface = Enum.SurfaceType.Smooth | |
| 554 | obj30.Material = Enum.Material.Marble | |
| 555 | obj30.Size = Vector3.new(0.200000003, 1, 1) | |
| 556 | obj30.BottomSurface = Enum.SurfaceType.Smooth | |
| 557 | obj30.Anchored = true | |
| 558 | obj30.BrickColor = BrickColor.new("Really black")
| |
| 559 | obj30.Friction = 0.30000001192093 | |
| 560 | obj30.Name = "Wedge" | |
| 561 | obj30.Parent = obj1 | |
| 562 | ||
| 563 | -- 31 - Part | |
| 564 | local obj31 = Instance.new("Part")
| |
| 565 | obj31.CFrame = CFrame.new(Vector3.new(17.7939548, 12.8005333, 143.093857)) * CFrame.Angles(-3.1415927410126, 0.78539752960205, -0) | |
| 566 | obj31.TopSurface = Enum.SurfaceType.Smooth | |
| 567 | obj31.BottomSurface = Enum.SurfaceType.Smooth | |
| 568 | obj31.Material = Enum.Material.Marble | |
| 569 | obj31.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 570 | obj31.Anchored = true | |
| 571 | obj31.BrickColor = BrickColor.new("Really black")
| |
| 572 | obj31.Friction = 0.30000001192093 | |
| 573 | obj31.Shape = Enum.PartType.Block | |
| 574 | obj31.Parent = obj1 | |
| 575 | ||
| 576 | -- 32 - Wedge | |
| 577 | local obj32 = Instance.new("WedgePart")
| |
| 578 | obj32.CFrame = CFrame.new(Vector3.new(8.29290962, 12.8000755, 152.600037)) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0) | |
| 579 | obj32.TopSurface = Enum.SurfaceType.Smooth | |
| 580 | obj32.Material = Enum.Material.Marble | |
| 581 | obj32.Size = Vector3.new(0.200000003, 1, 1) | |
| 582 | obj32.Anchored = true | |
| 583 | obj32.BrickColor = BrickColor.new("Really black")
| |
| 584 | obj32.Friction = 0.30000001192093 | |
| 585 | obj32.Name = "Wedge" | |
| 586 | obj32.Parent = obj1 | |
| 587 | ||
| 588 | -- 33 - Part | |
| 589 | local obj33 = Instance.new("Part")
| |
| 590 | obj33.CFrame = CFrame.new(Vector3.new(17.7918682, 12.8075333, 143.100006)) * CFrame.Angles(-0, 0, -3.1415927410126) | |
| 591 | obj33.TopSurface = Enum.SurfaceType.Smooth | |
| 592 | obj33.BottomSurface = Enum.SurfaceType.Smooth | |
| 593 | obj33.Material = Enum.Material.Concrete | |
| 594 | obj33.Size = Vector3.new(20, 0.200000003, 20) | |
| 595 | obj33.Anchored = true | |
| 596 | obj33.BrickColor = BrickColor.new("Maroon")
| |
| 597 | obj33.Friction = 0.30000001192093 | |
| 598 | obj33.Shape = Enum.PartType.Block | |
| 599 | obj33.Parent = obj1 | |
| 600 | ||
| 601 | -- 34 - Wedge | |
| 602 | local obj34 = Instance.new("WedgePart")
| |
| 603 | obj34.CFrame = CFrame.new(Vector3.new(8.2918644, 12.8000755, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, -1.5707963705063) | |
| 604 | obj34.TopSurface = Enum.SurfaceType.Smooth | |
| 605 | obj34.Material = Enum.Material.Marble | |
| 606 | obj34.Size = Vector3.new(0.200000003, 1, 1) | |
| 607 | obj34.Anchored = true | |
| 608 | obj34.BrickColor = BrickColor.new("Really black")
| |
| 609 | obj34.Friction = 0.30000001192093 | |
| 610 | obj34.Name = "Wedge" | |
| 611 | obj34.Parent = obj1 | |
| 612 | ||
| 613 | -- 35 - Part | |
| 614 | local obj35 = Instance.new("Part")
| |
| 615 | obj35.CFrame = CFrame.new(Vector3.new(17.7980175, 12.8005333, 143.101028)) * CFrame.Angles(-0, 0.78539896011353, -3.1415927410126) | |
| 616 | obj35.TopSurface = Enum.SurfaceType.Smooth | |
| 617 | obj35.BottomSurface = Enum.SurfaceType.Smooth | |
| 618 | obj35.Material = Enum.Material.Marble | |
| 619 | obj35.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
| 620 | obj35.Anchored = true | |
| 621 | obj35.BrickColor = BrickColor.new("Really black")
| |
| 622 | obj35.Friction = 0.30000001192093 | |
| 623 | obj35.Shape = Enum.PartType.Block | |
| 624 | obj35.Parent = obj1 | |
| 625 | ||
| 626 | -- 36 - Wedge | |
| 627 | local obj36 = Instance.new("WedgePart")
| |
| 628 | obj36.CFrame = CFrame.new(Vector3.new(27.2929707, 12.8000755, 133.599976)) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0) | |
| 629 | obj36.TopSurface = Enum.SurfaceType.Smooth | |
| 630 | obj36.Material = Enum.Material.Marble | |
| 631 | obj36.Size = Vector3.new(0.200000003, 1, 1) | |
| 632 | obj36.BottomSurface = Enum.SurfaceType.Smooth | |
| 633 | obj36.Anchored = true | |
| 634 | obj36.BrickColor = BrickColor.new("Really black")
| |
| 635 | obj36.Friction = 0.30000001192093 | |
| 636 | obj36.Name = "Wedge" | |
| 637 | obj36.Parent = obj1 | |
| 638 | ||
| 639 | -- 2 - HANDS | |
| 640 | local hand = Instance.new("Part")
| |
| 641 | hand.CFrame = CFrame.new(Vector3.new(13.4999914, 4.49999952, 143.299988)) * CFrame.Angles(-1.570796251297, 0.84960347414017, -1.5707963705063) | |
| 642 | hand.FormFactor = Enum.FormFactor.Symmetric | |
| 643 | hand.TopSurface = Enum.SurfaceType.Weld | |
| 644 | hand.BottomSurface = Enum.SurfaceType.Weld | |
| 645 | hand.Material = Enum.Material.Neon | |
| 646 | hand.Size = Vector3.new(8, 9, 2) | |
| 647 | hand.Anchored = true | |
| 648 | hand.BrickColor = BrickColor.new("Really black")
| |
| 649 | hand.Friction = 0.30000001192093 | |
| 650 | hand.Shape = Enum.PartType.Block | |
| 651 | hand.Name = "HANDS" | |
| 652 | hand.CanCollide = false | |
| 653 | hand.Parent = obj1 | |
| 654 | ||
| 655 | -- 3 - Mesh | |
| 656 | local handmesh = Instance.new("SpecialMesh")
| |
| 657 | handmesh.MeshType = Enum.MeshType.FileMesh | |
| 658 | handmesh.Scale = Vector3.new(2, 2, 2) | |
| 659 | handmesh.MeshId = "http://www.roblox.com/asset/?id=32054761" | |
| 660 | handmesh.Parent = hand | |
| 661 | ||
| 662 | -- 4 - Realistic Stone Fist | |
| 663 | local fist = Instance.new("Part")
| |
| 664 | fist.CFrame = CFrame.new(Vector3.new(3.50006008, 3.00004196, 143.000076)) * CFrame.Angles(-3.1415786743164, 1.8000484487857e-05, -1.5707963705063) | |
| 665 | fist.Transparency = 1 | |
| 666 | fist.Material = Enum.Material.Neon | |
| 667 | fist.Size = Vector3.new(6, 6, 6) | |
| 668 | fist.Anchored = true | |
| 669 | fist.CanCollide = false | |
| 670 | fist.BrickColor = BrickColor.new("Really black")
| |
| 671 | fist.Friction = 0.30000001192093 | |
| 672 | fist.Shape = Enum.PartType.Block | |
| 673 | fist.Name = "Realistic Stone Fist" | |
| 674 | fist.Parent = obj1 | |
| 675 | ||
| 676 | -- 5 - Mesh | |
| 677 | local fistmesh = Instance.new("SpecialMesh")
| |
| 678 | fistmesh.MeshType = Enum.MeshType.FileMesh | |
| 679 | fistmesh.Scale = Vector3.new(15, 15, 15) | |
| 680 | fistmesh.MeshId = "http://www.roblox.com/asset/?id=90718752" | |
| 681 | fistmesh.Parent = fist | |
| 682 | ||
| 683 | ||
| 684 | if plr.Character then | |
| 685 | function thatstuff() | |
| 686 | MoveSpawn(obj1,plr.Character) | |
| 687 | if plr.Character:FindFirstChild('Torso') and plr.Character:FindFirstChild('HumanoidRootPart') then
| |
| 688 | plr.Character.Torso.Anchored = true | |
| 689 | elseif plr.Character:FindFirstChild('UpperTorso') and plr.Character:FindFirstChild('HumanoidRootPart') then
| |
| 690 | plr.Character.UpperTorso.Anchored = true | |
| 691 | end | |
| 692 | local thing = Instance.new('Part',workspace)
| |
| 693 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
| 694 | thing.Material = Enum.Material.Neon | |
| 695 | thing.BrickColor = BrickColor.new('Really red')
| |
| 696 | local plrpos = nil | |
| 697 | thing.Anchored=true | |
| 698 | thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0) | |
| 699 | if plr.Character:FindFirstChildOfClass('Humanoid') then
| |
| 700 | plr.Character:FindFirstChildOfClass('Humanoid').Name = "No Escape."
| |
| 701 | plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
| |
| 702 | end | |
| 703 | if plrpos then | |
| 704 | thing.CFrame = thing.CFrame - plrpos | |
| 705 | end | |
| 706 | local flame = Instance.new('ParticleEmitter',thing)
| |
| 707 | flame.Texture = 'rbxassetid://743419909' | |
| 708 | flame.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))})
| |
| 709 | flame.LightEmission = 1 | |
| 710 | flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 711 | flame.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.137,0,0),NumberSequenceKeypoint.new(0.809,0.256,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 712 | flame.Lifetime = NumberRange.new(0.5,1) | |
| 713 | flame.Rate = 10000 | |
| 714 | flame.VelocityInheritance = 1 | |
| 715 | flame.VelocitySpread = 15 | |
| 716 | flame.Speed = NumberRange.new(10) | |
| 717 | for i=1,120 do | |
| 718 | if thing then | |
| 719 | thing.Size = thing.Size+Vector3.new(0.2,0,0.2) | |
| 720 | thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0) | |
| 721 | if plr.Character:FindFirstChildOfClass('Humanoid') then
| |
| 722 | plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
| |
| 723 | end | |
| 724 | if plrpos then | |
| 725 | thing.CFrame = thing.CFrame + Vector3.new(0,0.1,0) - plrpos | |
| 726 | end | |
| 727 | ||
| 728 | wait() | |
| 729 | end | |
| 730 | end | |
| 731 | for i=1,51 do | |
| 732 | MoveBy(obj1,Vector3.new(0,0.4,0)) | |
| 733 | wait() | |
| 734 | end | |
| 735 | local sound = Instance.new('Sound',obj21)
| |
| 736 | sound.SoundId = 'rbxassetid://138169063' | |
| 737 | sound.Volume = 1 | |
| 738 | sound:Play() | |
| 739 | wait(1) | |
| 740 | for i=1,50 do | |
| 741 | MovePartBy(obj21,Vector3.new(0,0,0.1)) | |
| 742 | MovePartBy(obj28,Vector3.new(0,0,-0.1)) | |
| 743 | wait() | |
| 744 | end | |
| 745 | wait(0.5) | |
| 746 | for i=1,100 do | |
| 747 | MovePartBy(hand,Vector3.new(-0.1,0,0)) | |
| 748 | wait() | |
| 749 | end | |
| 750 | hand.Transparency = 1 | |
| 751 | fist.Transparency = 0 | |
| 752 | wait(0.5) | |
| 753 | for i=1,75 do | |
| 754 | MovePartBy(fist,Vector3.new(0.2,0,0)) | |
| 755 | if plr.Character:FindFirstChild('Torso') then
| |
| 756 | MovePartBy(plr.Character.Torso,Vector3.new(0.2,0,0)) | |
| 757 | end | |
| 758 | wait() | |
| 759 | end | |
| 760 | local sound = Instance.new('Sound',obj21)
| |
| 761 | sound.SoundId = 'rbxassetid://178555466' | |
| 762 | sound.Volume = 1 | |
| 763 | sound:Play() | |
| 764 | for i=1,50 do | |
| 765 | MovePartBy(obj21,Vector3.new(0,0,-0.1)) | |
| 766 | MovePartBy(obj28,Vector3.new(0,0,0.1)) | |
| 767 | wait() | |
| 768 | end | |
| 769 | for i=1,10 do | |
| 770 | fist.Transparency = i/10 | |
| 771 | wait() | |
| 772 | end | |
| 773 | wait(1) | |
| 774 | for i=1,51 do | |
| 775 | MoveBy(obj1,Vector3.new(0,-0.4,0)) | |
| 776 | if plr.Character:FindFirstChild('Torso') then
| |
| 777 | MovePartBy(plr.Character.Torso,Vector3.new(0,-0.4,0)) | |
| 778 | end | |
| 779 | wait() | |
| 780 | end | |
| 781 | ToHell(obj1) | |
| 782 | if plr.Character:FindFirstChild('Torso') then
| |
| 783 | plr.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(5000,5000,5000) | |
| 784 | plr.Character.Torso.Anchored = false | |
| 785 | end | |
| 786 | local cf = thing.CFrame | |
| 787 | for i=1,120 do | |
| 788 | if thing then | |
| 789 | thing.Size = thing.Size-Vector3.new(0.2,0,0.2) | |
| 790 | thing.CFrame = cf | |
| 791 | wait() | |
| 792 | end | |
| 793 | end | |
| 794 | if thing then | |
| 795 | thing:Destroy() | |
| 796 | end | |
| 797 | if plr.Character:FindFirstChildOfClass('Humanoid') then
| |
| 798 | plr.Character:FindFirstChildOfClass('Humanoid').JumpPower = 0
| |
| 799 | end | |
| 800 | for i=1,100 do | |
| 801 | MovePartBy(obj33,Vector3.new(0,-0.1,0)) | |
| 802 | wait() | |
| 803 | end | |
| 804 | if plr.Character:FindFirstChildOfClass('Humanoid') then
| |
| 805 | plr.Character:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 806 | end | |
| 807 | for i=1,15 do | |
| 808 | MovePartBy(obj33,Vector3.new(0,-0.1,0)) | |
| 809 | wait() | |
| 810 | end | |
| 811 | wait(10) | |
| 812 | if obj1 then | |
| 813 | obj1:Destroy() | |
| 814 | end | |
| 815 | end | |
| 816 | local success, message = pcall(thatstuff) | |
| 817 | if success == false then | |
| 818 | print("An error occurred: "..message..". Removing the elevator for this player.")
| |
| 819 | obj1:Destroy() | |
| 820 | end | |
| 821 | end | |
| 822 | ||
| 823 | ||
| 824 | end) | |
| 825 | coru() | |
| 826 | end--33 | |
| 827 | end | |
| 828 | TextBox.Text = "Enter Target's Name (Can be Shortened)" | |
| 829 | end) |