Advertisement
RyanDaCoder

For: You Will Never Guess My, Ryanawesome222

Jul 20th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.97 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local TextLabel = Instance.new("TextLabel")
  5. local Frame = Instance.new("Frame")
  6. local TextButton = Instance.new("TextButton")
  7. local TextButton_2 = Instance.new("TextButton")
  8. local TextButton_3 = Instance.new("TextButton")
  9. local TextButton_4 = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  14.  
  15. TextLabel.Parent = ScreenGui
  16. TextLabel.Active = true
  17. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  18. TextLabel.Draggable = true
  19. TextLabel.Position = UDim2.new(0, 306, 0, 192)
  20. TextLabel.Size = UDim2.new(0, 248, 0, 14)
  21. TextLabel.Font = Enum.Font.SourceSans
  22. TextLabel.FontSize = Enum.FontSize.Size14
  23. TextLabel.Text = "For: YouWillNeverGuessMy - By Ryanawesome222"
  24. TextLabel.TextSize = 14
  25.  
  26. Frame.Parent = ScreenGui
  27. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  28. Frame.Position = UDim2.new(0, 305, 0, 207)
  29. Frame.Size = UDim2.new(0, 249, 0, 148)
  30.  
  31. TextButton.Parent = ScreenGui
  32. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  33. TextButton.Position = UDim2.new(0, 315, 0, 217)
  34. TextButton.Size = UDim2.new(0, 225, 0, 19)
  35. TextButton.Font = Enum.Font.SourceSans
  36. TextButton.FontSize = Enum.FontSize.Size14
  37. TextButton.Text = "SUN IS A DEADLY LASER SCRIPT"
  38. TextButton.TextSize = 14
  39.  
  40. TextButton_2.Parent = ScreenGui
  41. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  42. TextButton_2.Position = UDim2.new(0, 314, 0, 248)
  43. TextButton_2.Size = UDim2.new(0, 225, 0, 19)
  44. TextButton_2.Font = Enum.Font.SourceSans
  45. TextButton_2.FontSize = Enum.FontSize.Size14
  46. TextButton_2.Text = "Death Note"
  47. TextButton_2.TextSize = 14
  48.  
  49. TextButton_3.Parent = ScreenGui
  50. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  51. TextButton_3.Position = UDim2.new(0, 315, 0, 281)
  52. TextButton_3.Size = UDim2.new(0, 225, 0, 19)
  53. TextButton_3.Font = Enum.Font.SourceSans
  54. TextButton_3.FontSize = Enum.FontSize.Size14
  55. TextButton_3.Text = "Mustardfoot's Elevator to Hell"
  56. TextButton_3.TextSize = 14
  57.  
  58. TextButton_4.Parent = ScreenGui
  59. TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
  60. TextButton_4.Position = UDim2.new(0, 316, 0, 319)
  61. TextButton_4.Size = UDim2.new(0, 225, 0, 19)
  62. TextButton_4.Font = Enum.Font.SourceSans
  63. TextButton_4.FontSize = Enum.FontSize.Size14
  64. TextButton_4.Text = "Island Dimension"
  65. TextButton_4.TextSize = 14
  66.  
  67. TextButton.MouseButton1Click:connect(function()
  68. --[[
  69. SUN IS A DEADLY LASER SCRIPT
  70. { NOT ANYMORE THERE'S A BLANKET! }
  71. Created by Minty_Latios (ROBLOX)
  72. MintyLatios (V3rmillion)
  73. Minty Latios#1938
  74.  
  75.  
  76. --]]
  77. wait(1 / 60)
  78. Effects = { }
  79. local Player = game.Players.localPlayer
  80. local Character = Player.Character
  81. local Humanoid = Character.Humanoid
  82. local Mouse = Player:GetMouse()
  83. local LeftArm = Character["Left Arm"]
  84. local RightArm = Character["Right Arm"]
  85. local LeftLeg = Character["Left Leg"]
  86. local RightLeg = Character["Right Leg"]
  87. local Head = Character.Head
  88. local Torso = Character.Torso
  89. local Camera = game.Workspace.CurrentCamera
  90. local RootPart = Character.HumanoidRootPart
  91. local RootJoint = RootPart.RootJoint
  92. local attack = false
  93. local Anim = 'Idle'
  94. local attacktype = 1
  95. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  96. local velocity = RootPart.Velocity.y
  97. local sine = 0
  98. local change = 1
  99. local Create = LoadLibrary("RbxUtility").Create
  100.  
  101. local m = Create("Model"){
  102. Parent = Character,
  103. Name = "WeaponModel",
  104. }
  105.  
  106. Humanoid.Animator.Parent = nil
  107. Character.Animate.Parent = nil
  108.  
  109. local newMotor = function(part0, part1, c0, c1)
  110. local w = Create('Motor'){
  111. Parent = part0,
  112. Part0 = part0,
  113. Part1 = part1,
  114. C0 = c0,
  115. C1 = c1,
  116. }
  117. return w
  118. end
  119.  
  120. function clerp(a, b, t)
  121. return a:lerp(b, t)
  122. end
  123.  
  124. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  125. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  126.  
  127. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  128. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  129. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  130. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  131. RootJoint.C1 = CFrame.new(0, 0, 0)
  132. RootJoint.C0 = CFrame.new(0, 0, 0)
  133. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  134. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  135.  
  136. local rarmc1 = RW.C1
  137. local larmc1 = LW.C1
  138. local rlegc1 = RH.C1
  139. local llegc1 = LH.C1
  140.  
  141. local resetc1 = false
  142.  
  143. function PlayAnimationFromTable(table, speed, bool)
  144. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  145. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  146. RW.C0 = clerp(RW.C0, table[3], speed)
  147. LW.C0 = clerp(LW.C0, table[4], speed)
  148. RH.C0 = clerp(RH.C0, table[5], speed)
  149. LH.C0 = clerp(LH.C0, table[6], speed)
  150. if bool == true then
  151. if resetc1 == false then
  152. resetc1 = true
  153. RootJoint.C1 = RootJoint.C1
  154. Torso.Neck.C1 = Torso.Neck.C1
  155. RW.C1 = rarmc1
  156. LW.C1 = larmc1
  157. RH.C1 = rlegc1
  158. LH.C1 = llegc1
  159. end
  160. end
  161. end
  162.  
  163. ArtificialHB = Create("BindableEvent", script){
  164. Parent = script,
  165. Name = "Heartbeat",
  166. }
  167.  
  168. script:WaitForChild("Heartbeat")
  169.  
  170. frame = 1 / 30
  171. tf = 0
  172. allowframeloss = false
  173. tossremainder = false
  174. lastframe = tick()
  175. script.Heartbeat:Fire()
  176.  
  177. game:GetService("RunService").Heartbeat:connect(function(s, p)
  178. tf = tf + s
  179. if tf >= frame then
  180. if allowframeloss then
  181. script.Heartbeat:Fire()
  182. lastframe = tick()
  183. else
  184. for i = 1, math.floor(tf / frame) do
  185. script.Heartbeat:Fire()
  186. end
  187. lastframe = tick()
  188. end
  189. if tossremainder then
  190. tf = 0
  191. else
  192. tf = tf - frame * math.floor(tf / frame)
  193. end
  194. end
  195. end)
  196.  
  197. function swait(num)
  198. if num == 0 or num == nil then
  199. ArtificialHB.Event:wait()
  200. else
  201. for i = 0, num do
  202. ArtificialHB.Event:wait()
  203. end
  204. end
  205. end
  206.  
  207. function RemoveOutlines(part)
  208. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  209. end
  210.  
  211. CFuncs = {
  212. ["Part"] = {
  213. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  214. local Part = Create("Part"){
  215. Parent = Parent,
  216. Reflectance = Reflectance,
  217. Transparency = Transparency,
  218. CanCollide = false,
  219. Locked = true,
  220. BrickColor = BrickColor.new(tostring(BColor)),
  221. Name = Name,
  222. Size = Size,
  223. Material = Material,
  224. }
  225. RemoveOutlines(Part)
  226. return Part
  227. end;
  228. };
  229.  
  230. ["Mesh"] = {
  231. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  232. local Msh = Create(Mesh){
  233. Parent = Part,
  234. Offset = OffSet,
  235. Scale = Scale,
  236. }
  237. if Mesh == "SpecialMesh" then
  238. Msh.MeshType = MeshType
  239. Msh.MeshId = MeshId
  240. end
  241. return Msh
  242. end;
  243. };
  244.  
  245. ["Mesh"] = {
  246. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  247. local Msh = Create(Mesh){
  248. Parent = Part,
  249. Offset = OffSet,
  250. Scale = Scale,
  251. }
  252. if Mesh == "SpecialMesh" then
  253. Msh.MeshType = MeshType
  254. Msh.MeshId = MeshId
  255. end
  256. return Msh
  257. end;
  258. };
  259.  
  260. ["Weld"] = {
  261. Create = function(Parent, Part0, Part1, C0, C1)
  262. local Weld = Create("Weld"){
  263. Parent = Parent,
  264. Part0 = Part0,
  265. Part1 = Part1,
  266. C0 = C0,
  267. C1 = C1,
  268. }
  269. return Weld
  270. end;
  271. };
  272.  
  273. ["Sound"] = {
  274. Create = function(id, par, vol, pit)
  275. coroutine.resume(coroutine.create(function()
  276. local S = Create("Sound"){
  277. Volume = vol,
  278. Pitch = pit or 1,
  279. SoundId = id,
  280. Parent = par or workspace,
  281. }
  282. wait()
  283. S:play()
  284. game:GetService("Debris"):AddItem(S, 6)
  285. end))
  286. end;
  287. };
  288.  
  289. ["ParticleEmitter"] = {
  290. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  291. local fp = Create("ParticleEmitter"){
  292. Parent = Parent,
  293. Color = ColorSequence.new(Color1, Color2),
  294. LightEmission = LightEmission,
  295. Size = Size,
  296. Texture = Texture,
  297. Transparency = Transparency,
  298. ZOffset = ZOffset,
  299. Acceleration = Accel,
  300. Drag = Drag,
  301. LockedToPart = LockedToPart,
  302. VelocityInheritance = VelocityInheritance,
  303. EmissionDirection = EmissionDirection,
  304. Enabled = Enabled,
  305. Lifetime = LifeTime,
  306. Rate = Rate,
  307. Rotation = Rotation,
  308. RotSpeed = RotSpeed,
  309. Speed = Speed,
  310. VelocitySpread = VelocitySpread,
  311. }
  312. return fp
  313. end;
  314. };
  315.  
  316. CreateTemplate = {
  317.  
  318. };
  319. }
  320.  
  321. function rayCast(Position, Direction, Range, Ignore)
  322. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  323. end
  324.  
  325. FindNearestTorso = function(pos)
  326. local list = (game.Workspace:children())
  327. local torso = nil
  328. local dist = 1000
  329. local temp, human, temp2 = nil, nil, nil
  330. for x = 1, #list do
  331. temp2 = list[x]
  332. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  333. temp = temp2:findFirstChild("Torso")
  334. human = temp2:findFirstChild("Humanoid")
  335. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  336. local dohit = true
  337. if dohit == true then
  338. torso = temp
  339. dist = (temp.Position - pos).magnitude
  340. end
  341. end
  342. end
  343. end
  344. return torso, dist
  345. end
  346.  
  347. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  348. if hit.Parent == nil then
  349. return
  350. end
  351. local h = hit.Parent:FindFirstChild("Humanoid")
  352. for _, v in pairs(hit.Parent:children()) do
  353. if v:IsA("Humanoid") then
  354. h = v
  355. end
  356. end
  357. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  358. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  359. if hit.Parent.DebounceHit.Value == true then
  360. return
  361. end
  362. end
  363. local c = Create("ObjectValue"){
  364. Name = "creator",
  365. Value = game:service("Players").LocalPlayer,
  366. Parent = h,
  367. }
  368. game:GetService("Debris"):AddItem(c, .5)
  369. if HitSound ~= nil and HitPitch ~= nil then
  370. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  371. end
  372. local Damage = math.random(minim, maxim)
  373. local blocked = false
  374. local block = hit.Parent:findFirstChild("Block")
  375. if block ~= nil then
  376. if block.className == "IntValue" then
  377. if block.Value > 0 then
  378. blocked = true
  379. block.Value = block.Value - 1
  380. print(block.Value)
  381. end
  382. end
  383. end
  384. if blocked == false then
  385. h.Health = h.Health - Damage
  386. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  387. else
  388. h.Health = h.Health - (Damage / 2)
  389. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  390. end
  391. if Type == "Knockdown" then
  392. local hum = hit.Parent.Humanoid
  393. hum.PlatformStand = true
  394. coroutine.resume(coroutine.create(function(HHumanoid)
  395. swait(1)
  396. HHumanoid.PlatformStand = false
  397. end), hum)
  398. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  399. local bodvol = Create("BodyVelocity"){
  400. velocity = angle * knockback,
  401. P = 5000,
  402. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  403. Parent = hit,
  404. }
  405. local rl = Create("BodyAngularVelocity"){
  406. P = 3000,
  407. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  408. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  409. Parent = hit,
  410. }
  411. game:GetService("Debris"):AddItem(bodvol, .5)
  412. game:GetService("Debris"):AddItem(rl, .5)
  413. elseif Type == "Normal" then
  414. local vp = Create("BodyVelocity"){
  415. P = 500,
  416. maxForce = Vector3.new(math.huge, 0, math.huge),
  417. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  418. }
  419. if knockback > 0 then
  420. vp.Parent = hit.Parent.Torso
  421. end
  422. game:GetService("Debris"):AddItem(vp, .5)
  423. elseif Type == "Up" then
  424. local bodyVelocity = Create("BodyVelocity"){
  425. velocity = Vector3.new(0, 20, 0),
  426. P = 5000,
  427. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  428. Parent = hit,
  429. }
  430. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  431. elseif Type == "DarkUp" then
  432. coroutine.resume(coroutine.create(function()
  433. for i = 0, 1, 0.1 do
  434. swait()
  435. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  436. end
  437. end))
  438. local bodyVelocity = Create("BodyVelocity"){
  439. velocity = Vector3.new(0, 20, 0),
  440. P = 5000,
  441. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  442. Parent = hit,
  443. }
  444. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  445. elseif Type == "Snare" then
  446. local bp = Create("BodyPosition"){
  447. P = 2000,
  448. D = 100,
  449. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  450. position = hit.Parent.Torso.Position,
  451. Parent = hit.Parent.Torso,
  452. }
  453. game:GetService("Debris"):AddItem(bp, 1)
  454. elseif Type == "Freeze" then
  455. local BodPos = Create("BodyPosition"){
  456. P = 50000,
  457. D = 1000,
  458. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  459. position = hit.Parent.Torso.Position,
  460. Parent = hit.Parent.Torso,
  461. }
  462. local BodGy = Create("BodyGyro") {
  463. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  464. P = 20e+003,
  465. Parent = hit.Parent.Torso,
  466. cframe = hit.Parent.Torso.CFrame,
  467. }
  468. hit.Parent.Torso.Anchored = true
  469. coroutine.resume(coroutine.create(function(Part)
  470. swait(1.5)
  471. Part.Anchored = false
  472. end), hit.Parent.Torso)
  473. game:GetService("Debris"):AddItem(BodPos, 3)
  474. game:GetService("Debris"):AddItem(BodGy, 3)
  475. end
  476. local debounce = Create("BoolValue"){
  477. Name = "DebounceHit",
  478. Parent = hit.Parent,
  479. Value = true,
  480. }
  481. game:GetService("Debris"):AddItem(debounce, Delay)
  482. c = Create("ObjectValue"){
  483. Name = "creator",
  484. Value = Player,
  485. Parent = h,
  486. }
  487. game:GetService("Debris"):AddItem(c, .5)
  488. end
  489. end
  490.  
  491. function ShowDamage(Pos, Text, Time, Color)
  492. local Rate = (1 / 30)
  493. local Pos = (Pos or Vector3.new(0, 0, 0))
  494. local Text = (Text or "")
  495. local Time = (Time or 2)
  496. local Color = (Color or Color3.new(1, 0, 1))
  497. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  498. EffectPart.Anchored = true
  499. local BillboardGui = Create("BillboardGui"){
  500. Size = UDim2.new(3, 0, 3, 0),
  501. Adornee = EffectPart,
  502. Parent = EffectPart,
  503. }
  504. local TextLabel = Create("TextLabel"){
  505. BackgroundTransparency = 1,
  506. Size = UDim2.new(1, 0, 1, 0),
  507. Text = Text,
  508. Font = "SciFi",
  509. TextColor3 = Color,
  510. TextScaled = true,
  511. Parent = BillboardGui,
  512. }
  513. game.Debris:AddItem(EffectPart, (Time))
  514. EffectPart.Parent = game:GetService("Workspace")
  515. delay(0, function()
  516. local Frames = (Time / Rate)
  517. for Frame = 1, Frames do
  518. wait(Rate)
  519. local Percent = (Frame / Frames)
  520. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  521. TextLabel.TextTransparency = Percent
  522. end
  523. if EffectPart and EffectPart.Parent then
  524. EffectPart:Destroy()
  525. end
  526. end)
  527. end
  528.  
  529. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  530. for _, c in pairs(workspace:children()) do
  531. local hum = c:findFirstChild("Humanoid")
  532. if hum ~= nil then
  533. local head = c:findFirstChild("Torso")
  534. if head ~= nil then
  535. local targ = head.Position - Part.Position
  536. local mag = targ.magnitude
  537. if mag <= Magnitude and c.Name ~= Player.Name then
  538. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  539. end
  540. end
  541. end
  542. end
  543. end
  544.  
  545. EffectModel = Create("Model"){
  546. Parent = Character,
  547. Name = "Effects",
  548. }
  549.  
  550. Humanoid.WalkSpeed = 0
  551. Humanoid.JumpPower = 0
  552.  
  553. CFuncs['Sound'].Create("rbxassetid://836740253",Character,10,1)
  554. attack = true
  555.  
  556. New = function(Object, Parent, Name, Data)
  557. local Object = Instance.new(Object)
  558. for Index, Value in pairs(Data or {}) do
  559. Object[Index] = Value
  560. end
  561. Object.Parent = Parent
  562. Object.Name = Name
  563. return Object
  564. end
  565.  
  566. Deadly = New("Model",Torso,"Deadly",{})
  567. Sun = New("Part",Deadly,"Sun",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-128.325043, 6.92500401, -88.5550079, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 0),})
  568. SunWeld = New("Weld",Sun,"Weld",{Part0 = Sun,Part1 = Torso,C0 = CFrame.new(0,10,-10)})
  569. Mesh = New("SpecialMesh",Sun,"Mesh",{Scale = Vector3.new(25, 25, 25),MeshType = Enum.MeshType.Sphere,})
  570.  
  571.  
  572. wait(2.4)
  573. for i = 0, 5, .1 do
  574. swait()
  575. PlayAnimationFromTable({
  576. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  577. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  578. CFrame.new(1.49998116, 1.30000138, -0, -0.925471961, -0.378816098, -0, 0.378816068, -0.925472021, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  579. CFrame.new(-1.49998665, -7.67409801e-07, 0, 0.996534884, 0.083175458, -0, -0.0831753537, 0.996536195, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  580. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  581. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  582. }, .1, false)
  583. SunWeld.C0 = clerp(SunWeld.C0, CFrame.new(0,-15,-10), 0.1)
  584. end
  585. wait(0.5)
  586. Humanoid.WalkSpeed = 19
  587. Humanoid.JumpPower = 75
  588. attack = false
  589.  
  590. Effects = {
  591. Block = {
  592. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  593. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  594. prt.Anchored = true
  595. prt.CFrame = cframe
  596. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  597. game:GetService("Debris"):AddItem(prt, 10)
  598. if Type == 1 or Type == nil then
  599. table.insert(Effects, {
  600. prt,
  601. "Block1",
  602. delay,
  603. x3,
  604. y3,
  605. z3,
  606. msh
  607. })
  608. elseif Type == 2 then
  609. table.insert(Effects, {
  610. prt,
  611. "Block2",
  612. delay,
  613. x3,
  614. y3,
  615. z3,
  616. msh
  617. })
  618. end
  619. end;
  620. };
  621.  
  622. Cylinder = {
  623. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  624. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  625. prt.Anchored = true
  626. prt.CFrame = cframe
  627. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  628. game:GetService("Debris"):AddItem(prt, 10)
  629. table.insert(Effects, {
  630. prt,
  631. "Cylinder",
  632. delay,
  633. x3,
  634. y3,
  635. z3,
  636. msh
  637. })
  638. end;
  639. };
  640. Head = {
  641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  643. prt.Anchored = true
  644. prt.CFrame = cframe
  645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  646. game:GetService("Debris"):AddItem(prt, 10)
  647. table.insert(Effects, {
  648. prt,
  649. "Cylinder",
  650. delay,
  651. x3,
  652. y3,
  653. z3,
  654. msh
  655. })
  656. end;
  657. };
  658.  
  659. Sphere = {
  660. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  661. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  662. prt.Anchored = true
  663. prt.CFrame = cframe
  664. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  665. game:GetService("Debris"):AddItem(prt, 10)
  666. table.insert(Effects, {
  667. prt,
  668. "Cylinder",
  669. delay,
  670. x3,
  671. y3,
  672. z3,
  673. msh
  674. })
  675. end;
  676. };
  677.  
  678. Elect = {
  679. Create = function(cff, x, y, z)
  680. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  681. prt.Anchored = true
  682. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  683. prt.CFrame = CFrame.new(prt.Position)
  684. game:GetService("Debris"):AddItem(prt, 2)
  685. local xval = math.random() / 2
  686. local yval = math.random() / 2
  687. local zval = math.random() / 2
  688. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  689. table.insert(Effects, {
  690. prt,
  691. "Elec",
  692. 0.1,
  693. x,
  694. y,
  695. z,
  696. xval,
  697. yval,
  698. zval
  699. })
  700. end;
  701.  
  702. };
  703.  
  704. Ring = {
  705. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  706. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  707. prt.Anchored = true
  708. prt.CFrame = cframe
  709. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. game:GetService("Debris"):AddItem(prt, 10)
  711. table.insert(Effects, {
  712. prt,
  713. "Cylinder",
  714. delay,
  715. x3,
  716. y3,
  717. z3,
  718. msh
  719. })
  720. end;
  721. };
  722.  
  723.  
  724. Wave = {
  725. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  726. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  727. prt.Anchored = true
  728. prt.CFrame = cframe
  729. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  730. game:GetService("Debris"):AddItem(prt, 10)
  731. table.insert(Effects, {
  732. prt,
  733. "Cylinder",
  734. delay,
  735. x3,
  736. y3,
  737. z3,
  738. msh
  739. })
  740. end;
  741. };
  742.  
  743. Break = {
  744. Create = function(brickcolor, cframe, x1, y1, z1)
  745. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  746. prt.Anchored = true
  747. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  748. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  749. local num = math.random(10, 50) / 1000
  750. game:GetService("Debris"):AddItem(prt, 10)
  751. table.insert(Effects, {
  752. prt,
  753. "Shatter",
  754. num,
  755. prt.CFrame,
  756. math.random() - math.random(),
  757. 0,
  758. math.random(50, 100) / 100
  759. })
  760. end;
  761. };
  762.  
  763. Fire = {
  764. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  765. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  766. prt.Anchored = true
  767. prt.CFrame = cframe
  768. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  769. game:GetService("Debris"):AddItem(prt, 10)
  770. table.insert(Effects, {
  771. prt,
  772. "Fire",
  773. delay,
  774. 1,
  775. 1,
  776. 1,
  777. msh
  778. })
  779. end;
  780. };
  781.  
  782. FireWave = {
  783. Create = function(brickcolor, cframe, x1, y1, z1)
  784. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  785. prt.Anchored = true
  786. prt.CFrame = cframe
  787. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. local d = Create("Decal"){
  789. Parent = prt,
  790. Texture = "rbxassetid://26356434",
  791. Face = "Top",
  792. }
  793. local d = Create("Decal"){
  794. Parent = prt,
  795. Texture = "rbxassetid://26356434",
  796. Face = "Bottom",
  797. }
  798. game:GetService("Debris"):AddItem(prt, 10)
  799. table.insert(Effects, {
  800. prt,
  801. "FireWave",
  802. 1,
  803. 30,
  804. math.random(400, 600) / 100,
  805. msh
  806. })
  807. end;
  808. };
  809.  
  810. Lightning = {
  811. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  812. local magz = (p0 - p1).magnitude
  813. local curpos = p0
  814. local trz = {
  815. -ofs,
  816. ofs
  817. }
  818. for i = 1, tym do
  819. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  820. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  821. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  822. li.Material = "Neon"
  823. if tym == i then
  824. local magz2 = (curpos - p1).magnitude
  825. li.Size = Vector3.new(th, th, magz2)
  826. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  827. table.insert(Effects, {
  828. li,
  829. "Disappear",
  830. last
  831. })
  832. else
  833. do
  834. do
  835. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  836. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  837. game.Debris:AddItem(li, 10)
  838. table.insert(Effects, {
  839. li,
  840. "Disappear",
  841. last
  842. })
  843. end
  844. end
  845. end
  846. end
  847. end
  848. };
  849.  
  850. EffectTemplate = {
  851.  
  852. };
  853. }
  854.  
  855. function supernova()
  856. attack = true
  857. for i = 0, 1, 0.1 do
  858. swait()
  859. PlayAnimationFromTable({
  860. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  861. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  862. CFrame.new(1.49998248, 1.03999865, 1.31132779e-07, -0.874934673, -0.48424086, -8.74230253e-08, 0.48424086, -0.874934673, 2.16521015e-13, -7.64895418e-08, -4.23336139e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  863. CFrame.new(-1.45997405, 1.03999221, 0, -0.85547322, 0.5178473, -0, -0.517847538, -0.855473042, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  864. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  865. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  866. }, .3, false)
  867. end
  868. wait(.5)
  869. for i = 0, 5, .1 do
  870. Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
  871. swait()
  872. end
  873. --
  874. coroutine.wrap(function()
  875. repeat swait()
  876. Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
  877. until nil
  878. end)()
  879. --CFuncs['Sound'].Create("rbxassetid://265492506",Character,10,1)
  880. local a = Instance.new("ColorCorrectionEffect",game:service'Lighting')
  881. a.TintColor = Color3.new(1,1,1)
  882. local b = Instance.new("BlurEffect",game:service'Lighting')
  883. b.Size = 0
  884.  
  885. for i = 1,0,-.1 do
  886. b.Size = b.Size + .5
  887. a.TintColor = Color3.new(1,1,i)
  888. wait()
  889. end
  890. wait(1)
  891.  
  892.  
  893. for i = 1,0,-.1 do
  894. a.TintColor = Color3.new(1,i,0)
  895. b.Size = b.Size + 1
  896. wait()
  897. end
  898.  
  899. wait(1)
  900.  
  901. for i = 1,0,-.1 do
  902. a.TintColor = Color3.new(i,0,0)
  903. wait()
  904. end
  905. wait(1)
  906.  
  907. coroutine.wrap(function()
  908. for i,v in next, workspace:children() do
  909. if v:IsA"Model" or v:IsA"Part" then
  910. if v:FindFirstChildOfClass"Humanoid"then
  911. v:BreakJoints()
  912. end
  913. end
  914. end
  915. end)()
  916. wait(1)
  917.  
  918. for i = 0,1,.1 do
  919. a.TintColor = Color3.new(1,1,i)
  920. b.Size = b.Size - 2
  921. wait()
  922. end
  923.  
  924. a:destroy()
  925. game:service'Debris':AddItem(b,3)
  926. end
  927. function attackone()
  928. CFuncs['Sound'].Create("rbxassetid://811841430",Character,10,1)
  929. local a = Instance.new("Part",Character)
  930. a.Name = "Lazer"
  931. a.Anchored = true
  932. a.CanCollide = false
  933. a.BrickColor = BrickColor.new"New Yeller"
  934. local ray = Ray.new(
  935. Sun.CFrame.p, -- origin
  936. (Mouse.Hit.p - Sun.CFrame.p).unit * 500 -- direction
  937. )
  938. local ignore = Character
  939. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  940. if hit then
  941. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  942.  
  943. if not humanoid then
  944. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  945. end
  946. if humanoid then
  947. if humanoid.Parent:IsA"Model" then
  948. humanoid.Parent:BreakJoints()
  949. end
  950. end
  951. end
  952. a.BottomSurface = 10
  953. a.TopSurface = 10
  954. local distance = (Sun.CFrame.p - position).magnitude
  955. a.Size = Vector3.new(1, 1, distance)
  956. a.CFrame = CFrame.new(Sun.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  957. game:GetService("Debris"):AddItem(a, 0.1)
  958. end
  959.  
  960. Mouse.Button1Down:connect(function()
  961. if attack == false and attacktype == 1 then
  962. attackone()
  963. end
  964. end)
  965.  
  966.  
  967. Mouse.KeyDown:connect(function(k)
  968. if attack == false and k == 'v' then
  969. supernova()
  970. end
  971. end)
  972. while true do
  973. swait()
  974. for i, v in pairs(Character:GetChildren()) do
  975. if v:IsA("Part") then
  976. v.Material = "SmoothPlastic"
  977. elseif v:IsA("Accessory") then
  978. v:WaitForChild("Handle").Material = "SmoothPlastic"
  979. end
  980. end
  981. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  982. velocity = RootPart.Velocity.y
  983. sine = sine + change
  984. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  985. if RootPart.Velocity.y > 1 and hit == nil then
  986. Anim = "Jump"
  987. if attack == false then
  988. PlayAnimationFromTable({
  989. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  990. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  991. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  992. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  993. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  994. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  995. }, .3, false)
  996. end
  997. elseif RootPart.Velocity.y < -1 and hit == nil then
  998. Anim = "Fall"
  999. if attack == false then
  1000. PlayAnimationFromTable({
  1001. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1002. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1003. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1004. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1005. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1006. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1007. }, .3, false)
  1008. end
  1009. elseif Torsovelocity < 1 and hit ~= nil then
  1010. Anim = "Idle"
  1011. if attack == false then
  1012. change = 1
  1013. PlayAnimationFromTable({
  1014. CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1015. CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.sin(sine/22)/12,0,0),
  1016. CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
  1017. CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
  1018. CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1019. CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1020. }, .3, false)
  1021.  
  1022. end
  1023. elseif Torsovelocity > 2 and hit ~= nil then
  1024. Anim = "Walk"
  1025. if attack == false then
  1026. PlayAnimationFromTable({
  1027. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3), 0) * CFrame.Angles(0, 0, 0),
  1028. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1029. CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
  1030. CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
  1031. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 6)), 0, 0),
  1032. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 6)), 0, 0),
  1033. }, .3, false)
  1034. end
  1035. end
  1036. if 0 < #Effects then
  1037. for e = 1, #Effects do
  1038. if Effects[e] ~= nil then
  1039. local Thing = Effects[e]
  1040. if Thing ~= nil then
  1041. local Part = Thing[1]
  1042. local Mode = Thing[2]
  1043. local Delay = Thing[3]
  1044. local IncX = Thing[4]
  1045. local IncY = Thing[5]
  1046. local IncZ = Thing[6]
  1047. if Thing[2] == "Shoot" then
  1048. local Look = Thing[1]
  1049. local move = 30
  1050. if Thing[8] == 3 then
  1051. move = 10
  1052. end
  1053. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1054. if Thing[10] ~= nil then
  1055. da = pos
  1056. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1057. cfa = CFrame.new(Thing[4], pos)
  1058. tehCF = cfa:lerp(cf2, 0.2)
  1059. Thing[1] = tehCF.lookVector
  1060. end
  1061. local mag = (Thing[4] - pos).magnitude
  1062. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1063. if Thing[8] == 2 then
  1064. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1065. end
  1066. Thing[4] = Thing[4] + Look * move
  1067. Thing[3] = Thing[3] - 1
  1068. if 2 < Thing[5] then
  1069. Thing[5] = Thing[5] - 0.3
  1070. Thing[6] = Thing[6] - 0.3
  1071. end
  1072. if hit ~= nil then
  1073. Thing[3] = 0
  1074. if Thing[8] == 1 or Thing[8] == 3 then
  1075. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1076. else
  1077. if Thing[8] == 2 then
  1078. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1079. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1080. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1081. ref.Anchored = true
  1082. ref.CFrame = CFrame.new(pos)
  1083. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1084. game:GetService("Debris"):AddItem(ref, 0.2)
  1085. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1086. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1087. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1088. end
  1089. end
  1090. end
  1091. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1092. ref.Anchored = true
  1093. ref.CFrame = CFrame.new(pos)
  1094. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1095. game:GetService("Debris"):AddItem(ref, 1)
  1096. end
  1097. if Thing[3] <= 0 then
  1098. table.remove(Effects, e)
  1099. end
  1100. end
  1101. do
  1102. do
  1103. if Thing[2] == "FireWave" then
  1104. if Thing[3] <= Thing[4] then
  1105. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1106. Thing[3] = Thing[3] + 1
  1107. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1108. else
  1109. Part.Parent = nil
  1110. table.remove(Effects, e)
  1111. end
  1112. end
  1113. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1114. if Thing[1].Transparency <= 1 then
  1115. if Thing[2] == "Block1" then
  1116. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1117. Mesh = Thing[7]
  1118. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1119. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1120. else
  1121. if Thing[2] == "Block2" then
  1122. Thing[1].CFrame = Thing[1].CFrame
  1123. Mesh = Thing[7]
  1124. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1125. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1126. else
  1127. if Thing[2] == "Fire" then
  1128. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1129. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1130. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1131. else
  1132. if Thing[2] == "Cylinder" then
  1133. Mesh = Thing[7]
  1134. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1135. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1136. else
  1137. if Thing[2] == "Blood" then
  1138. Mesh = Thing[7]
  1139. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1140. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1141. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1142. else
  1143. if Thing[2] == "Elec" then
  1144. Mesh = Thing[10]
  1145. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1146. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1147. else
  1148. if Thing[2] == "Disappear" then
  1149. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1150. else
  1151. if Thing[2] == "Shatter" then
  1152. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1153. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1154. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1155. Thing[6] = Thing[6] + Thing[5]
  1156. end
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164. else
  1165. Part.Parent = nil
  1166. table.remove(Effects, e)
  1167. end
  1168. end
  1169. end
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end)
  1177.  
  1178. TextButton_2.MouseButton1Click:connect(function()
  1179. --Made by Hirari_Tear, credits to expro for the GUI--
  1180.  
  1181. local Handle = Instance.new('Part')
  1182.  
  1183. local Mesh = Instance.new('SpecialMesh')
  1184.  
  1185. local Death = Instance.new('Tool')
  1186.  
  1187. Death.Name = "Death Note"
  1188.  
  1189. Handle.Name = "Handle"
  1190.  
  1191. Death.Parent = game.Players.LocalPlayer.Backpack
  1192.  
  1193. Death.GripForward = Vector3.new(0.331, -0.766, 0.551)
  1194.  
  1195. Death.GripPos = Vector3.new(-0.8, 0, -0.8)
  1196.  
  1197. Death.GripRight = Vector3.new(-0.943, -0.297, 0.152)
  1198.  
  1199. Death.GripUp = Vector3.new(-0.048, 0.57, 0.82)
  1200.  
  1201. Death.ToolTip = "Kill your fucking rival"
  1202.  
  1203. Handle.Parent = Death
  1204.  
  1205. Mesh.Parent = Handle
  1206.  
  1207. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  1208.  
  1209. Mesh.TextureId = "http://www.roblox.com/asset/?id=18276952"
  1210.  
  1211. Mesh.Scale = Vector3.new(0.55, 0.174, 0.6)
  1212.  
  1213. Handle.Rotation = Vector3.new(0,-90,0)
  1214.  
  1215. Death.Equipped:connect(function(mouse)
  1216.  
  1217. local Bounce = Enum.EasingStyle.Bounce
  1218.  
  1219. local Quad = Enum.EasingStyle.Quad
  1220.  
  1221. local Normal = Enum.EasingStyle.Linear
  1222.  
  1223.  
  1224.  
  1225. local ScreenGui = Instance.new("ScreenGui", game.Players["LocalPlayer"].PlayerGui)
  1226.  
  1227. ScreenGui.Name = "Death Note"
  1228.  
  1229.  
  1230.  
  1231. local open = Instance.new("ImageButton", ScreenGui)
  1232.  
  1233. open.Position = UDim2.new(1, -110, 1, 500)
  1234.  
  1235. open.Size = UDim2.new(0, 100,0, 150)
  1236.  
  1237. open.Image = "rbxassetid://18536731"
  1238.  
  1239. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Bounce, 0.8, true)
  1240.  
  1241.  
  1242.  
  1243. local Note = Instance.new("Frame", ScreenGui)
  1244.  
  1245. Note.Active = true
  1246.  
  1247. Note.Position = UDim2.new(1, -321, 1, 500)
  1248.  
  1249. Note.Size = UDim2.new(0, 320,0, 250)
  1250.  
  1251. Note.Visible = false
  1252.  
  1253. Note.Draggable = true
  1254.  
  1255.  
  1256.  
  1257. open.MouseButton1Down:connect(function()
  1258.  
  1259. open:TweenPosition(UDim2.new(open.Position.X.Scale,open.Position.X.Offset, 1, 500), "Out", Normal, 0.8, true)
  1260.  
  1261. wait(0.30)
  1262.  
  1263. open.Visible = false
  1264.  
  1265. Note.Visible = true
  1266.  
  1267. Note.Position = UDim2.new(1, -321, 1, 500)
  1268.  
  1269. Note:TweenPosition(UDim2.new(1, -321, 1, -251), "In", Normal, 0.5, true)
  1270.  
  1271. end)
  1272.  
  1273.  
  1274.  
  1275. local bg = Instance.new("Frame", Note)
  1276.  
  1277. bg.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  1278.  
  1279. bg.Size = UDim2.new(0, 160,0, 250)
  1280.  
  1281. bg.ZIndex = 2
  1282.  
  1283.  
  1284.  
  1285. -- Background
  1286.  
  1287.  
  1288.  
  1289. local close = Instance.new("TextButton", bg)
  1290.  
  1291. close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  1292.  
  1293. close.BackgroundTransparency = 1
  1294.  
  1295. close.Position = UDim2.new(0, 8,0, 10)
  1296.  
  1297. close.Size = UDim2.new(0, 10,0, 10)
  1298.  
  1299. close.ZIndex = 4
  1300.  
  1301. close.Font = "Cartoon"
  1302.  
  1303. close.Text = "X"
  1304.  
  1305. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  1306.  
  1307. close.TextSize = "17"
  1308.  
  1309.  
  1310.  
  1311. close.MouseButton1Down:connect(function()
  1312.  
  1313. Note:TweenPosition(UDim2.new(Note.Position.X.Scale,Note.Position.X.Offset,1, 500), "Out", Normal, 0.5, true)
  1314.  
  1315. wait(0.30)
  1316.  
  1317. Note.Visible = false
  1318.  
  1319. open.Visible = true
  1320.  
  1321. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Normal, 0.8, true)
  1322.  
  1323. end)
  1324.  
  1325.  
  1326.  
  1327. local image1 = Instance.new("ImageLabel", bg)
  1328.  
  1329. image1.BackgroundTransparency = 1
  1330.  
  1331. image1.Size = UDim2.new(1, 0,1, 0)
  1332.  
  1333. image1.ZIndex = 3
  1334.  
  1335. image1.Image = "rbxassetid://18528551"
  1336.  
  1337.  
  1338.  
  1339. local title = Instance.new("TextLabel", bg)
  1340.  
  1341. title.BackgroundTransparency = 1
  1342.  
  1343. title.Position = UDim2.new(0, 0,0, 30)
  1344.  
  1345. title.Size = UDim2.new(1, 0,0, 30)
  1346.  
  1347. title.ZIndex = 4
  1348.  
  1349. title.Font = "Bodoni"
  1350.  
  1351. title.Text = "DEATH NOTE"
  1352.  
  1353. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  1354.  
  1355. title.TextSize = "18"
  1356.  
  1357.  
  1358.  
  1359. local body = Instance.new("TextLabel", bg)
  1360.  
  1361. body.BackgroundTransparency = 1
  1362.  
  1363. body.Position = UDim2.new(0, 15,0, 65)
  1364.  
  1365. body.Size = UDim2.new(0, 134,0, 40)
  1366.  
  1367. body.ZIndex = 4
  1368.  
  1369. body.Font = "Garamond"
  1370.  
  1371. body.Text = "Type in somebody's name to kill them."
  1372.  
  1373. body.TextColor3 = Color3.fromRGB(255, 255, 255)
  1374.  
  1375. body.TextSize = "19"
  1376.  
  1377. body.TextWrapped = true
  1378.  
  1379. body.TextXAlignment = "Left"
  1380.  
  1381. body.TextYAlignment = "Top"
  1382.  
  1383.  
  1384.  
  1385. local line = Instance.new("TextLabel", body)
  1386.  
  1387. line.BackgroundTransparency = 1
  1388.  
  1389. line.Position = UDim2.new(0, 0,0, 50)
  1390.  
  1391. line.Size = UDim2.new(0, 130,0, 40)
  1392.  
  1393. line.ZIndex = 4
  1394.  
  1395. line.Font = "Garamond"
  1396.  
  1397. line.Text = "________________"
  1398.  
  1399. line.TextColor3 = Color3.fromRGB(255, 255, 255)
  1400.  
  1401. line.TextSize = "19"
  1402.  
  1403. line.TextWrapped = true
  1404.  
  1405. line.TextXAlignment = "Left"
  1406.  
  1407. line.TextYAlignment = "Top"
  1408.  
  1409.  
  1410.  
  1411. local text = Instance.new("TextLabel", body)
  1412.  
  1413. text.BackgroundTransparency = 1
  1414.  
  1415. text.Position = UDim2.new(0, 0,0, 100)
  1416.  
  1417. text.Size = UDim2.new(0, 134,0, 40)
  1418.  
  1419. text.ZIndex = 4
  1420.  
  1421. text.Font = "Garamond"
  1422.  
  1423. text.Text = "This was made by RcDZ."
  1424.  
  1425. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  1426.  
  1427. text.TextSize = "19"
  1428.  
  1429. text.TextWrapped = true
  1430.  
  1431. text.TextXAlignment = "Left"
  1432.  
  1433. text.TextYAlignment = "Top"
  1434.  
  1435.  
  1436.  
  1437. -- Page
  1438.  
  1439.  
  1440.  
  1441. local page = Instance.new("Frame", Note)
  1442.  
  1443. page.BackgroundColor3 = Color3.fromRGB(236, 236, 236)
  1444.  
  1445. page.Position = UDim2.new(0, 160,0, 0)
  1446.  
  1447. page.Size = UDim2.new(0, 160,0, 250)
  1448.  
  1449. page.ZIndex = 2
  1450.  
  1451.  
  1452.  
  1453. local list = Instance.new("TextBox", page)
  1454.  
  1455. list.BackgroundTransparency = 1
  1456.  
  1457. list.Position = UDim2.new(0, 25,0, 20)
  1458.  
  1459. list.Size = UDim2.new(0.8, 5,0, 230)
  1460.  
  1461. list.ZIndex = 4
  1462.  
  1463. list.Font = "Antique"
  1464.  
  1465. list.Text = ""
  1466.  
  1467. list.TextColor3 = Color3.fromRGB(0, 0, 0)
  1468.  
  1469. list.TextSize = "23"
  1470.  
  1471. list.TextWrapped = true
  1472.  
  1473. list.TextXAlignment = "Left"
  1474.  
  1475. list.TextYAlignment = "Top"
  1476.  
  1477.  
  1478.  
  1479. local image2 = Instance.new("ImageLabel", page)
  1480.  
  1481. image2.BackgroundTransparency = 1
  1482.  
  1483. image2.Size = UDim2.new(1, 0,1, 0)
  1484.  
  1485. image2.ZIndex = 3
  1486.  
  1487. image2.Image = "rbxassetid://170279713"
  1488.  
  1489. image2.Transparency = 0.2
  1490.  
  1491.  
  1492.  
  1493. while true do
  1494.  
  1495. repeat wait() until game.Workspace:FindFirstChild(list.Text)
  1496.  
  1497. if game.Workspace[list.Text]:FindFirstChild("Humanoid") then
  1498.  
  1499. game.Workspace[list.Text].Humanoid.PlatformStand = true
  1500.  
  1501. game.Workspace[list.Text].Humanoid.Health = 0
  1502.  
  1503. elseif game.Workspace[list.Text]:FindFirstChild("Zombie") then
  1504.  
  1505. game.Workspace[list.Text].Zombie.PlatformStand = true
  1506.  
  1507. game.Workspace[list.Text].Zombie.Health = 0
  1508.  
  1509. end
  1510.  
  1511. end
  1512.  
  1513. end)
  1514.  
  1515. Death.Unequipped:connect(function(mouse)
  1516.  
  1517. game.Players.LocalPlayer.PlayerGui["Death Note"]:remove()
  1518.  
  1519. end)
  1520. end)
  1521.  
  1522. TextButton_3.MouseButton1Click:connect(function()
  1523. -- Objects
  1524.  
  1525. local ScreenGui = Instance.new("ScreenGui")
  1526. local TextBox = Instance.new("TextBox")
  1527.  
  1528.  
  1529. function MoveSpawn(obj1,PLAYER)
  1530. local playerpos = nil
  1531. if PLAYER:FindFirstChildOfClass('Humanoid') and PLAYER:FindFirstChild('HumanoidRootPart') then
  1532. playerpos = PLAYER.HumanoidRootPart.Position - Vector3.new(0,PLAYER:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
  1533. end
  1534. print(playerpos)
  1535. for _,part in pairs (obj1:GetChildren()) do
  1536. if part:IsA('BasePart') and playerpos then
  1537. print('thefuck')
  1538. print(playerpos)
  1539. part.CFrame = part.CFrame + playerpos + Vector3.new(-2.6,-20,-143)
  1540. end
  1541. end
  1542. end
  1543.  
  1544. function ToHell(obj1)
  1545. for i,v in pairs(obj1:GetChildren()) do
  1546. v.CFrame = v.CFrame+Vector3.new(5000,5000,5000)
  1547. end
  1548. end
  1549.  
  1550. function MoveBy(obj1,AMNT)
  1551. for i,v in pairs(obj1:GetChildren()) do
  1552. if v:IsA('BasePart') then
  1553. v.CFrame = v.CFrame + AMNT
  1554. end
  1555. end
  1556. end
  1557.  
  1558. function MovePartBy(part,AMNT)
  1559. part.CFrame = part.CFrame+AMNT
  1560. end
  1561.  
  1562. -- Properties
  1563.  
  1564. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  1565. ScreenGui.ResetOnSpawn = false
  1566.  
  1567. TextBox.Parent = ScreenGui
  1568. TextBox.AnchorPoint = Vector2.new(0.5, 0.5)
  1569. TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
  1570. TextBox.BorderColor3 = Color3.new(0.47451, 0, 0)
  1571. TextBox.BorderSizePixel = 5
  1572. TextBox.Position = UDim2.new(0.5, 0, 0.949999988, 0)
  1573. TextBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  1574. TextBox.Font = Enum.Font.SourceSans
  1575. TextBox.FontSize = Enum.FontSize.Size14
  1576. TextBox.Text = "Enter Target's Name (Can be Shortened)"
  1577. TextBox.TextColor3 = Color3.new(0.47451, 0, 0)
  1578. TextBox.TextScaled = true
  1579. TextBox.TextSize = 14
  1580. TextBox.TextWrapped = true
  1581.  
  1582. TextBox.FocusLost:connect(function()
  1583. for i,v in pairs(game.Players:GetChildren()) do
  1584. 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
  1585. local coru = coroutine.wrap(function()
  1586. print('elevatoring '..v.Name)
  1587. local plr = v
  1588. -- 1 - Model
  1589. local obj1 = Instance.new("Model")
  1590. obj1.Parent = workspace
  1591.  
  1592. -- 2 - Part
  1593. local obj2 = Instance.new("Part")
  1594. obj2.CFrame = CFrame.new(Vector3.new(7.60000801, 8.2000227, 143.099991)) * CFrame.Angles(-0, 0, -0)
  1595. obj2.Material = Enum.Material.Neon
  1596. obj2.Size = Vector3.new(0.400000006, 0.200000003, 6.5999999)
  1597. obj2.Anchored = true
  1598. obj2.BrickColor = BrickColor.new("Maroon")
  1599. obj2.Friction = 0.30000001192093
  1600. obj2.Shape = Enum.PartType.Block
  1601. obj2.Parent = obj1
  1602.  
  1603. -- 3 - Part
  1604. local obj3 = Instance.new("Part")
  1605. obj3.CFrame = CFrame.new(Vector3.new(17.550005, 2.40002203, 152.699997)) * CFrame.Angles(-0, 0, -0)
  1606. obj3.Material = Enum.Material.Foil
  1607. obj3.Size = Vector3.new(19.4999981, 0.200000003, 0.200000003)
  1608. obj3.Anchored = true
  1609. obj3.BrickColor = BrickColor.new("Really black")
  1610. obj3.Friction = 0.30000001192093
  1611. obj3.Shape = Enum.PartType.Block
  1612. obj3.Parent = obj1
  1613.  
  1614. -- 4 - Wedge
  1615. local obj4 = Instance.new("WedgePart")
  1616. obj4.CFrame = CFrame.new(Vector3.new(27.300005, 0.107478142, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1617. obj4.TopSurface = Enum.SurfaceType.Smooth
  1618. obj4.Material = Enum.Material.Marble
  1619. obj4.Size = Vector3.new(0.200000003, 1, 1)
  1620. obj4.Anchored = true
  1621. obj4.BrickColor = BrickColor.new("Maroon")
  1622. obj4.Friction = 0.30000001192093
  1623. obj4.Name = "Wedge"
  1624. obj4.Parent = obj1
  1625.  
  1626. -- 5 - Part
  1627. local obj5 = Instance.new("Part")
  1628. obj5.CFrame = CFrame.new(Vector3.new(17.7938519, 0.107021809, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
  1629. obj5.TopSurface = Enum.SurfaceType.Smooth
  1630. obj5.BottomSurface = Enum.SurfaceType.Smooth
  1631. obj5.Material = Enum.Material.Marble
  1632. obj5.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1633. obj5.Anchored = true
  1634. obj5.BrickColor = BrickColor.new("Maroon")
  1635. obj5.Friction = 0.30000001192093
  1636. obj5.Shape = Enum.PartType.Block
  1637. obj5.Parent = obj1
  1638.  
  1639. -- 6 - Part
  1640. local obj6 = Instance.new("Part")
  1641. obj6.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 149.850006)) * CFrame.Angles(0, 1.5707963705063, 0)
  1642. obj6.Material = Enum.Material.Cobblestone
  1643. obj6.Size = Vector3.new(6.90000153, 13, 0.400000006)
  1644. obj6.Anchored = true
  1645. obj6.BrickColor = BrickColor.new("Maroon")
  1646. obj6.Friction = 0.30000001192093
  1647. obj6.Shape = Enum.PartType.Block
  1648. obj6.Parent = obj1
  1649.  
  1650. -- 7 - Part
  1651. local obj7 = Instance.new("Part")
  1652. obj7.CFrame = CFrame.new(Vector3.new(27.4000034, 2.40002203, 143.199997)) * CFrame.Angles(-0, 0, -0)
  1653. obj7.Material = Enum.Material.Foil
  1654. obj7.Size = Vector3.new(0.200000003, 0.200000003, 19.2000008)
  1655. obj7.Anchored = true
  1656. obj7.BrickColor = BrickColor.new("Really black")
  1657. obj7.Friction = 0.30000001192093
  1658. obj7.Shape = Enum.PartType.Block
  1659. obj7.Parent = obj1
  1660.  
  1661. -- 8 - Part
  1662. local obj8 = Instance.new("Part")
  1663. obj8.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 153.199997)) * CFrame.Angles(-0, 0, -0)
  1664. obj8.Material = Enum.Material.Cobblestone
  1665. obj8.Size = Vector3.new(20, 13, 0.200000003)
  1666. obj8.Anchored = true
  1667. obj8.BrickColor = BrickColor.new("Maroon")
  1668. obj8.Friction = 0.30000001192093
  1669. obj8.Shape = Enum.PartType.Block
  1670. obj8.Parent = obj1
  1671.  
  1672. -- 9 - Part
  1673. local obj9 = Instance.new("Part")
  1674. obj9.CFrame = CFrame.new(Vector3.new(7.6000042, 4.05002213, 139.899994)) * CFrame.Angles(-0, 0, -0)
  1675. obj9.Material = Enum.Material.Neon
  1676. obj9.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
  1677. obj9.Anchored = true
  1678. obj9.BrickColor = BrickColor.new("Maroon")
  1679. obj9.Friction = 0.30000001192093
  1680. obj9.Shape = Enum.PartType.Block
  1681. obj9.Parent = obj1
  1682.  
  1683. -- 10 - Part
  1684. local obj10 = Instance.new("Part")
  1685. obj10.CFrame = CFrame.new(Vector3.new(17.8000011, 0.100021839, 143.100006)) * CFrame.Angles(-0, 0, -0)
  1686. obj10.TopSurface = Enum.SurfaceType.Smooth
  1687. obj10.BottomSurface = Enum.SurfaceType.Smooth
  1688. obj10.Material = Enum.Material.Wood
  1689. obj10.Size = Vector3.new(20, 0.200000003, 20)
  1690. obj10.Anchored = true
  1691. obj10.BrickColor = BrickColor.new("Black")
  1692. obj10.Friction = 0.30000001192093
  1693. obj10.Shape = Enum.PartType.Block
  1694. obj10.Parent = obj1
  1695.  
  1696. -- 11 - Wedge
  1697. local obj11 = Instance.new("WedgePart")
  1698. obj11.CFrame = CFrame.new(Vector3.new(8.2999897, 0.107478142, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
  1699. obj11.TopSurface = Enum.SurfaceType.Smooth
  1700. obj11.Material = Enum.Material.Marble
  1701. obj11.Size = Vector3.new(0.200000003, 1, 1)
  1702. obj11.BottomSurface = Enum.SurfaceType.Smooth
  1703. obj11.Anchored = true
  1704. obj11.BrickColor = BrickColor.new("Maroon")
  1705. obj11.Friction = 0.30000001192093
  1706. obj11.Name = "Wedge"
  1707. obj11.Parent = obj1
  1708.  
  1709. -- 12 - Wedge
  1710. local obj12 = Instance.new("WedgePart")
  1711. obj12.CFrame = CFrame.new(Vector3.new(8.2988987, 0.107478142, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1712. obj12.TopSurface = Enum.SurfaceType.Smooth
  1713. obj12.Material = Enum.Material.Marble
  1714. obj12.Size = Vector3.new(0.200000003, 1, 1)
  1715. obj12.BottomSurface = Enum.SurfaceType.Smooth
  1716. obj12.Anchored = true
  1717. obj12.BrickColor = BrickColor.new("Maroon")
  1718. obj12.Friction = 0.30000001192093
  1719. obj12.Name = "Wedge"
  1720. obj12.Parent = obj1
  1721.  
  1722. -- 13 - Part
  1723. local obj13 = Instance.new("Part")
  1724. obj13.CFrame = CFrame.new(Vector3.new(17.7979107, 0.107021809, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
  1725. obj13.TopSurface = Enum.SurfaceType.Smooth
  1726. obj13.BottomSurface = Enum.SurfaceType.Smooth
  1727. obj13.Material = Enum.Material.Marble
  1728. obj13.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1729. obj13.Anchored = true
  1730. obj13.BrickColor = BrickColor.new("Maroon")
  1731. obj13.Friction = 0.30000001192093
  1732. obj13.Shape = Enum.PartType.Block
  1733. obj13.Parent = obj1
  1734.  
  1735. -- 14 - Wedge
  1736. local obj14 = Instance.new("WedgePart")
  1737. obj14.CFrame = CFrame.new(Vector3.new(27.2989597, 0.107478142, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  1738. obj14.TopSurface = Enum.SurfaceType.Smooth
  1739. obj14.Material = Enum.Material.Marble
  1740. obj14.Size = Vector3.new(0.200000003, 1, 1)
  1741. obj14.Anchored = true
  1742. obj14.BrickColor = BrickColor.new("Maroon")
  1743. obj14.Friction = 0.30000001192093
  1744. obj14.Name = "Wedge"
  1745. obj14.Parent = obj1
  1746.  
  1747. -- 15 - Part
  1748. local obj15 = Instance.new("Part")
  1749. obj15.CFrame = CFrame.new(Vector3.new(27.8999996, 6.50002193, 143.100006)) * CFrame.Angles(0, 1.5707963705063, 0)
  1750. obj15.Material = Enum.Material.Cobblestone
  1751. obj15.Size = Vector3.new(20.4000015, 13, 0.200000003)
  1752. obj15.Anchored = true
  1753. obj15.BrickColor = BrickColor.new("Maroon")
  1754. obj15.Friction = 0.30000001192093
  1755. obj15.Shape = Enum.PartType.Block
  1756. obj15.Parent = obj1
  1757.  
  1758. -- 16 - Part
  1759. local obj16 = Instance.new("Part")
  1760. obj16.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 146.299988)) * CFrame.Angles(-0, 0, -0)
  1761. obj16.Material = Enum.Material.Neon
  1762. obj16.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
  1763. obj16.Anchored = true
  1764. obj16.BrickColor = BrickColor.new("Maroon")
  1765. obj16.Friction = 0.30000001192093
  1766. obj16.Shape = Enum.PartType.Block
  1767. obj16.Parent = obj1
  1768.  
  1769. -- 17 - Part
  1770. local obj17 = Instance.new("Part")
  1771. obj17.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 133)) * CFrame.Angles(-0, 0, -0)
  1772. obj17.Material = Enum.Material.Cobblestone
  1773. obj17.Size = Vector3.new(20, 13, 0.200000003)
  1774. obj17.Anchored = true
  1775. obj17.BrickColor = BrickColor.new("Maroon")
  1776. obj17.Friction = 0.30000001192093
  1777. obj17.Shape = Enum.PartType.Block
  1778. obj17.Parent = obj1
  1779.  
  1780. -- 18 - Part
  1781. local obj18 = Instance.new("Part")
  1782. obj18.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 136.350006)) * CFrame.Angles(0, 1.5707963705063, 0)
  1783. obj18.Material = Enum.Material.Cobblestone
  1784. obj18.Size = Vector3.new(6.90000153, 13, 0.400000006)
  1785. obj18.Anchored = true
  1786. obj18.BrickColor = BrickColor.new("Maroon")
  1787. obj18.Friction = 0.30000001192093
  1788. obj18.Shape = Enum.PartType.Block
  1789. obj18.Parent = obj1
  1790.  
  1791. -- 19 - Part
  1792. local obj19 = Instance.new("Part")
  1793. obj19.CFrame = CFrame.new(Vector3.new(7.6000042, 10.6500206, 143.099991)) * CFrame.Angles(0, 1.5707963705063, 0)
  1794. obj19.Material = Enum.Material.Cobblestone
  1795. obj19.Size = Vector3.new(6.60000181, 4.69999981, 0.400000006)
  1796. obj19.Anchored = true
  1797. obj19.BrickColor = BrickColor.new("Maroon")
  1798. obj19.Friction = 0.30000001192093
  1799. obj19.Shape = Enum.PartType.Block
  1800. obj19.Parent = obj1
  1801.  
  1802. -- 20 - Part
  1803. local obj20 = Instance.new("Part")
  1804. obj20.CFrame = CFrame.new(Vector3.new(17.6500034, 2.40002203, 133.5)) * CFrame.Angles(-0, 0, -0)
  1805. obj20.Material = Enum.Material.Foil
  1806. obj20.Size = Vector3.new(19.7000008, 0.200000003, 0.200000003)
  1807. obj20.Anchored = true
  1808. obj20.BrickColor = BrickColor.new("Really black")
  1809. obj20.Friction = 0.30000001192093
  1810. obj20.Shape = Enum.PartType.Block
  1811. obj20.Parent = obj1
  1812.  
  1813. -- 21 - Door1
  1814. local obj21 = Instance.new("Part")
  1815. obj21.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 144.649994)) * CFrame.Angles(-0, 0, -0)
  1816. obj21.Material = Enum.Material.Granite
  1817. obj21.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
  1818. obj21.Anchored = true
  1819. obj21.BrickColor = BrickColor.new("Really black")
  1820. obj21.Friction = 0.30000001192093
  1821. obj21.Shape = Enum.PartType.Block
  1822. obj21.Name = "Door1"
  1823. obj21.Parent = obj1
  1824.  
  1825. -- 22 - Part
  1826. local obj22 = Instance.new("Part")
  1827. obj22.CFrame = CFrame.new(Vector3.new(17.8000011, 12.9000273, 143.100006)) * CFrame.Angles(-0, 0, -0)
  1828. obj22.TopSurface = Enum.SurfaceType.Smooth
  1829. obj22.BottomSurface = Enum.SurfaceType.Smooth
  1830. obj22.Material = Enum.Material.Wood
  1831. obj22.Size = Vector3.new(20, 0.200000003, 20)
  1832. obj22.Anchored = true
  1833. obj22.BrickColor = BrickColor.new("Black")
  1834. obj22.Friction = 0.30000001192093
  1835. obj22.Shape = Enum.PartType.Block
  1836. obj22.Parent = obj1
  1837.  
  1838. -- 23 - Wedge
  1839. local obj23 = Instance.new("WedgePart")
  1840. obj23.CFrame = CFrame.new(Vector3.new(8.2999897, 12.9074841, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
  1841. obj23.TopSurface = Enum.SurfaceType.Smooth
  1842. obj23.Material = Enum.Material.Marble
  1843. obj23.Size = Vector3.new(0.200000003, 1, 1)
  1844. obj23.BottomSurface = Enum.SurfaceType.Smooth
  1845. obj23.Anchored = true
  1846. obj23.BrickColor = BrickColor.new("Maroon")
  1847. obj23.Friction = 0.30000001192093
  1848. obj23.Name = "Wedge"
  1849. obj23.Parent = obj1
  1850.  
  1851. -- 24 - Wedge
  1852. local obj24 = Instance.new("WedgePart")
  1853. obj24.CFrame = CFrame.new(Vector3.new(8.2988987, 12.9074841, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1854. obj24.TopSurface = Enum.SurfaceType.Smooth
  1855. obj24.Material = Enum.Material.Marble
  1856. obj24.Size = Vector3.new(0.200000003, 1, 1)
  1857. obj24.BottomSurface = Enum.SurfaceType.Smooth
  1858. obj24.Anchored = true
  1859. obj24.BrickColor = BrickColor.new("Maroon")
  1860. obj24.Friction = 0.30000001192093
  1861. obj24.Name = "Wedge"
  1862. obj24.Parent = obj1
  1863.  
  1864. -- 25 - Wedge
  1865. local obj25 = Instance.new("WedgePart")
  1866. obj25.CFrame = CFrame.new(Vector3.new(27.300005, 12.9074841, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1867. obj25.TopSurface = Enum.SurfaceType.Smooth
  1868. obj25.Material = Enum.Material.Marble
  1869. obj25.Size = Vector3.new(0.200000003, 1, 1)
  1870. obj25.Anchored = true
  1871. obj25.BrickColor = BrickColor.new("Maroon")
  1872. obj25.Friction = 0.30000001192093
  1873. obj25.Name = "Wedge"
  1874. obj25.Parent = obj1
  1875.  
  1876. -- 26 - Part
  1877. local obj26 = Instance.new("Part")
  1878. obj26.CFrame = CFrame.new(Vector3.new(17.7938519, 12.9070272, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
  1879. obj26.TopSurface = Enum.SurfaceType.Smooth
  1880. obj26.BottomSurface = Enum.SurfaceType.Smooth
  1881. obj26.Material = Enum.Material.Marble
  1882. obj26.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1883. obj26.Anchored = true
  1884. obj26.BrickColor = BrickColor.new("Maroon")
  1885. obj26.Friction = 0.30000001192093
  1886. obj26.Shape = Enum.PartType.Block
  1887. obj26.Parent = obj1
  1888.  
  1889. -- 27 - Part
  1890. local obj27 = Instance.new("Part")
  1891. obj27.CFrame = CFrame.new(Vector3.new(17.7979107, 12.9070272, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
  1892. obj27.TopSurface = Enum.SurfaceType.Smooth
  1893. obj27.BottomSurface = Enum.SurfaceType.Smooth
  1894. obj27.Material = Enum.Material.Marble
  1895. obj27.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1896. obj27.Anchored = true
  1897. obj27.BrickColor = BrickColor.new("Maroon")
  1898. obj27.Friction = 0.30000001192093
  1899. obj27.Shape = Enum.PartType.Block
  1900. obj27.Parent = obj1
  1901.  
  1902. -- 28 - Door2
  1903. local obj28 = Instance.new("Part")
  1904. obj28.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 141.550003)) * CFrame.Angles(-0, 0, -0)
  1905. obj28.Material = Enum.Material.Granite
  1906. obj28.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
  1907. obj28.Anchored = true
  1908. obj28.BrickColor = BrickColor.new("Really black")
  1909. obj28.Friction = 0.30000001192093
  1910. obj28.Shape = Enum.PartType.Block
  1911. obj28.Name = "Door2"
  1912. obj28.Parent = obj1
  1913.  
  1914. -- 29 - Wedge
  1915. local obj29 = Instance.new("WedgePart")
  1916. obj29.CFrame = CFrame.new(Vector3.new(27.2989597, 12.9074841, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  1917. obj29.TopSurface = Enum.SurfaceType.Smooth
  1918. obj29.Material = Enum.Material.Marble
  1919. obj29.Size = Vector3.new(0.200000003, 1, 1)
  1920. obj29.Anchored = true
  1921. obj29.BrickColor = BrickColor.new("Maroon")
  1922. obj29.Friction = 0.30000001192093
  1923. obj29.Name = "Wedge"
  1924. obj29.Parent = obj1
  1925.  
  1926. -- 30 - Wedge
  1927. local obj30 = Instance.new("WedgePart")
  1928. obj30.CFrame = CFrame.new(Vector3.new(27.2918797, 12.8000755, 152.600006)) * CFrame.Angles(-0, 0, 1.5707963705063)
  1929. obj30.TopSurface = Enum.SurfaceType.Smooth
  1930. obj30.Material = Enum.Material.Marble
  1931. obj30.Size = Vector3.new(0.200000003, 1, 1)
  1932. obj30.BottomSurface = Enum.SurfaceType.Smooth
  1933. obj30.Anchored = true
  1934. obj30.BrickColor = BrickColor.new("Really black")
  1935. obj30.Friction = 0.30000001192093
  1936. obj30.Name = "Wedge"
  1937. obj30.Parent = obj1
  1938.  
  1939. -- 31 - Part
  1940. local obj31 = Instance.new("Part")
  1941. obj31.CFrame = CFrame.new(Vector3.new(17.7939548, 12.8005333, 143.093857)) * CFrame.Angles(-3.1415927410126, 0.78539752960205, -0)
  1942. obj31.TopSurface = Enum.SurfaceType.Smooth
  1943. obj31.BottomSurface = Enum.SurfaceType.Smooth
  1944. obj31.Material = Enum.Material.Marble
  1945. obj31.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1946. obj31.Anchored = true
  1947. obj31.BrickColor = BrickColor.new("Really black")
  1948. obj31.Friction = 0.30000001192093
  1949. obj31.Shape = Enum.PartType.Block
  1950. obj31.Parent = obj1
  1951.  
  1952. -- 32 - Wedge
  1953. local obj32 = Instance.new("WedgePart")
  1954. obj32.CFrame = CFrame.new(Vector3.new(8.29290962, 12.8000755, 152.600037)) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
  1955. obj32.TopSurface = Enum.SurfaceType.Smooth
  1956. obj32.Material = Enum.Material.Marble
  1957. obj32.Size = Vector3.new(0.200000003, 1, 1)
  1958. obj32.Anchored = true
  1959. obj32.BrickColor = BrickColor.new("Really black")
  1960. obj32.Friction = 0.30000001192093
  1961. obj32.Name = "Wedge"
  1962. obj32.Parent = obj1
  1963.  
  1964. -- 33 - Part
  1965. local obj33 = Instance.new("Part")
  1966. obj33.CFrame = CFrame.new(Vector3.new(17.7918682, 12.8075333, 143.100006)) * CFrame.Angles(-0, 0, -3.1415927410126)
  1967. obj33.TopSurface = Enum.SurfaceType.Smooth
  1968. obj33.BottomSurface = Enum.SurfaceType.Smooth
  1969. obj33.Material = Enum.Material.Concrete
  1970. obj33.Size = Vector3.new(20, 0.200000003, 20)
  1971. obj33.Anchored = true
  1972. obj33.BrickColor = BrickColor.new("Maroon")
  1973. obj33.Friction = 0.30000001192093
  1974. obj33.Shape = Enum.PartType.Block
  1975. obj33.Parent = obj1
  1976.  
  1977. -- 34 - Wedge
  1978. local obj34 = Instance.new("WedgePart")
  1979. obj34.CFrame = CFrame.new(Vector3.new(8.2918644, 12.8000755, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, -1.5707963705063)
  1980. obj34.TopSurface = Enum.SurfaceType.Smooth
  1981. obj34.Material = Enum.Material.Marble
  1982. obj34.Size = Vector3.new(0.200000003, 1, 1)
  1983. obj34.Anchored = true
  1984. obj34.BrickColor = BrickColor.new("Really black")
  1985. obj34.Friction = 0.30000001192093
  1986. obj34.Name = "Wedge"
  1987. obj34.Parent = obj1
  1988.  
  1989. -- 35 - Part
  1990. local obj35 = Instance.new("Part")
  1991. obj35.CFrame = CFrame.new(Vector3.new(17.7980175, 12.8005333, 143.101028)) * CFrame.Angles(-0, 0.78539896011353, -3.1415927410126)
  1992. obj35.TopSurface = Enum.SurfaceType.Smooth
  1993. obj35.BottomSurface = Enum.SurfaceType.Smooth
  1994. obj35.Material = Enum.Material.Marble
  1995. obj35.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
  1996. obj35.Anchored = true
  1997. obj35.BrickColor = BrickColor.new("Really black")
  1998. obj35.Friction = 0.30000001192093
  1999. obj35.Shape = Enum.PartType.Block
  2000. obj35.Parent = obj1
  2001.  
  2002. -- 36 - Wedge
  2003. local obj36 = Instance.new("WedgePart")
  2004. obj36.CFrame = CFrame.new(Vector3.new(27.2929707, 12.8000755, 133.599976)) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0)
  2005. obj36.TopSurface = Enum.SurfaceType.Smooth
  2006. obj36.Material = Enum.Material.Marble
  2007. obj36.Size = Vector3.new(0.200000003, 1, 1)
  2008. obj36.BottomSurface = Enum.SurfaceType.Smooth
  2009. obj36.Anchored = true
  2010. obj36.BrickColor = BrickColor.new("Really black")
  2011. obj36.Friction = 0.30000001192093
  2012. obj36.Name = "Wedge"
  2013. obj36.Parent = obj1
  2014.  
  2015. -- 2 - HANDS
  2016. local hand = Instance.new("Part")
  2017. hand.CFrame = CFrame.new(Vector3.new(13.4999914, 4.49999952, 143.299988)) * CFrame.Angles(-1.570796251297, 0.84960347414017, -1.5707963705063)
  2018. hand.FormFactor = Enum.FormFactor.Symmetric
  2019. hand.TopSurface = Enum.SurfaceType.Weld
  2020. hand.BottomSurface = Enum.SurfaceType.Weld
  2021. hand.Material = Enum.Material.Neon
  2022. hand.Size = Vector3.new(8, 9, 2)
  2023. hand.Anchored = true
  2024. hand.BrickColor = BrickColor.new("Really black")
  2025. hand.Friction = 0.30000001192093
  2026. hand.Shape = Enum.PartType.Block
  2027. hand.Name = "HANDS"
  2028. hand.CanCollide = false
  2029. hand.Parent = obj1
  2030.  
  2031. -- 3 - Mesh
  2032. local handmesh = Instance.new("SpecialMesh")
  2033. handmesh.MeshType = Enum.MeshType.FileMesh
  2034. handmesh.Scale = Vector3.new(2, 2, 2)
  2035. handmesh.MeshId = "http://www.roblox.com/asset/?id=32054761"
  2036. handmesh.Parent = hand
  2037.  
  2038. -- 4 - Realistic Stone Fist
  2039. local fist = Instance.new("Part")
  2040. fist.CFrame = CFrame.new(Vector3.new(3.50006008, 3.00004196, 143.000076)) * CFrame.Angles(-3.1415786743164, 1.8000484487857e-05, -1.5707963705063)
  2041. fist.Transparency = 1
  2042. fist.Material = Enum.Material.Neon
  2043. fist.Size = Vector3.new(6, 6, 6)
  2044. fist.Anchored = true
  2045. fist.CanCollide = false
  2046. fist.BrickColor = BrickColor.new("Really black")
  2047. fist.Friction = 0.30000001192093
  2048. fist.Shape = Enum.PartType.Block
  2049. fist.Name = "Realistic Stone Fist"
  2050. fist.Parent = obj1
  2051.  
  2052. -- 5 - Mesh
  2053. local fistmesh = Instance.new("SpecialMesh")
  2054. fistmesh.MeshType = Enum.MeshType.FileMesh
  2055. fistmesh.Scale = Vector3.new(15, 15, 15)
  2056. fistmesh.MeshId = "http://www.roblox.com/asset/?id=90718752"
  2057. fistmesh.Parent = fist
  2058.  
  2059.  
  2060. if plr.Character then
  2061. function thatstuff()
  2062. MoveSpawn(obj1,plr.Character)
  2063. if plr.Character:FindFirstChild('Torso') and plr.Character:FindFirstChild('HumanoidRootPart') then
  2064. plr.Character.Torso.Anchored = true
  2065. elseif plr.Character:FindFirstChild('UpperTorso') and plr.Character:FindFirstChild('HumanoidRootPart') then
  2066. plr.Character.UpperTorso.Anchored = true
  2067. end
  2068. local thing = Instance.new('Part',workspace)
  2069. thing.Size = Vector3.new(0.2,0.2,0.2)
  2070. thing.Material = Enum.Material.Neon
  2071. thing.BrickColor = BrickColor.new('Really red')
  2072. local plrpos = nil
  2073. thing.Anchored=true
  2074. thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
  2075. if plr.Character:FindFirstChildOfClass('Humanoid') then
  2076. plr.Character:FindFirstChildOfClass('Humanoid').Name = "No Escape."
  2077. plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
  2078. end
  2079. if plrpos then
  2080. thing.CFrame = thing.CFrame - plrpos
  2081. end
  2082. local flame = Instance.new('ParticleEmitter',thing)
  2083. flame.Texture = 'rbxassetid://743419909'
  2084. flame.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))})
  2085. flame.LightEmission = 1
  2086. flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2087. 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)})
  2088. flame.Lifetime = NumberRange.new(0.5,1)
  2089. flame.Rate = 10000
  2090. flame.VelocityInheritance = 1
  2091. flame.VelocitySpread = 15
  2092. flame.Speed = NumberRange.new(10)
  2093. for i=1,120 do
  2094. if thing then
  2095. thing.Size = thing.Size+Vector3.new(0.2,0,0.2)
  2096. thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
  2097. if plr.Character:FindFirstChildOfClass('Humanoid') then
  2098. plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
  2099. end
  2100. if plrpos then
  2101. thing.CFrame = thing.CFrame + Vector3.new(0,0.1,0) - plrpos
  2102. end
  2103.  
  2104. wait()
  2105. end
  2106. end
  2107. for i=1,51 do
  2108. MoveBy(obj1,Vector3.new(0,0.4,0))
  2109. wait()
  2110. end
  2111. local sound = Instance.new('Sound',obj21)
  2112. sound.SoundId = 'rbxassetid://138169063'
  2113. sound.Volume = 1
  2114. sound:Play()
  2115. wait(1)
  2116. for i=1,50 do
  2117. MovePartBy(obj21,Vector3.new(0,0,0.1))
  2118. MovePartBy(obj28,Vector3.new(0,0,-0.1))
  2119. wait()
  2120. end
  2121. wait(0.5)
  2122. for i=1,100 do
  2123. MovePartBy(hand,Vector3.new(-0.1,0,0))
  2124. wait()
  2125. end
  2126. hand.Transparency = 1
  2127. fist.Transparency = 0
  2128. wait(0.5)
  2129. for i=1,75 do
  2130. MovePartBy(fist,Vector3.new(0.2,0,0))
  2131. if plr.Character:FindFirstChild('Torso') then
  2132. MovePartBy(plr.Character.Torso,Vector3.new(0.2,0,0))
  2133. end
  2134. wait()
  2135. end
  2136. local sound = Instance.new('Sound',obj21)
  2137. sound.SoundId = 'rbxassetid://178555466'
  2138. sound.Volume = 1
  2139. sound:Play()
  2140. for i=1,50 do
  2141. MovePartBy(obj21,Vector3.new(0,0,-0.1))
  2142. MovePartBy(obj28,Vector3.new(0,0,0.1))
  2143. wait()
  2144. end
  2145. for i=1,10 do
  2146. fist.Transparency = i/10
  2147. wait()
  2148. end
  2149. wait(1)
  2150. for i=1,51 do
  2151. MoveBy(obj1,Vector3.new(0,-0.4,0))
  2152. if plr.Character:FindFirstChild('Torso') then
  2153. MovePartBy(plr.Character.Torso,Vector3.new(0,-0.4,0))
  2154. end
  2155. wait()
  2156. end
  2157. ToHell(obj1)
  2158. if plr.Character:FindFirstChild('Torso') then
  2159. plr.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(5000,5000,5000)
  2160. plr.Character.Torso.Anchored = false
  2161. end
  2162. local cf = thing.CFrame
  2163. for i=1,120 do
  2164. if thing then
  2165. thing.Size = thing.Size-Vector3.new(0.2,0,0.2)
  2166. thing.CFrame = cf
  2167. wait()
  2168. end
  2169. end
  2170. if thing then
  2171. thing:Destroy()
  2172. end
  2173. if plr.Character:FindFirstChildOfClass('Humanoid') then
  2174. plr.Character:FindFirstChildOfClass('Humanoid').JumpPower = 0
  2175. end
  2176. for i=1,100 do
  2177. MovePartBy(obj33,Vector3.new(0,-0.1,0))
  2178. wait()
  2179. end
  2180. if plr.Character:FindFirstChildOfClass('Humanoid') then
  2181. plr.Character:FindFirstChildOfClass('Humanoid').Health = 0
  2182. end
  2183. for i=1,15 do
  2184. MovePartBy(obj33,Vector3.new(0,-0.1,0))
  2185. wait()
  2186. end
  2187. wait(10)
  2188. if obj1 then
  2189. obj1:Destroy()
  2190. end
  2191. end
  2192. local success, message = pcall(thatstuff)
  2193. if success == false then
  2194. print("An error occurred: "..message..". Removing the elevator for this player.")
  2195. obj1:Destroy()
  2196. end
  2197. end
  2198.  
  2199.  
  2200. end)
  2201. coru()
  2202. end--33
  2203. end
  2204. TextBox.Text = "Enter Target's Name (Can be Shortened)"
  2205. end)
  2206. end)
  2207.  
  2208. TextButton_4.MouseButton1Click:connect(function()
  2209. --[[
  2210. Island Dimension made by Fenrier.
  2211. ]]
  2212. it=Instance.new
  2213. vt=Vector3.new
  2214. cf=CFrame.new
  2215. euler=CFrame.fromEulerAnglesXYZ
  2216. angles=CFrame.Angles
  2217. teledebounce=false
  2218. teledebounce2=false
  2219.  
  2220. if workspace.Base:findFirstChild("Tower Model",true) ~= nil then
  2221. workspace.Base:findFirstChild("Tower Model",true).Parent = nil
  2222. end
  2223.  
  2224.  
  2225. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
  2226. local fp = it("Part")
  2227. fp.formFactor = formfactor
  2228. fp.Parent = parent
  2229. fp.Reflectance = reflectance
  2230. fp.Transparency = transparency
  2231. fp.CanCollide = true
  2232. fp.Anchored = true
  2233. fp.Locked=true
  2234. fp.BrickColor = brickcolor
  2235. fp.Name = name
  2236. fp.Size = size
  2237. fp.CFrame = cframe
  2238. fp.BottomSurface="Smooth"
  2239. fp.TopSurface="Smooth"
  2240. fp:BreakJoints()
  2241. return fp
  2242. end
  2243.  
  2244. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2245. local mesh = it(Mesh)
  2246. mesh.Parent = part
  2247. if Mesh=="SpecialMesh" then
  2248. mesh.MeshType = meshtype
  2249. mesh.MeshId = meshid
  2250. end
  2251. mesh.Offset=offset
  2252. mesh.Scale=scale
  2253. return mesh
  2254. end
  2255.  
  2256. function weld(parent,part0,part1,c0)
  2257. local weld = it("Weld")
  2258. weld.Parent = parent
  2259. weld.Part0 = part0
  2260. weld.Part1 = part1
  2261. weld.C0 = c0
  2262. return weld
  2263. end
  2264.  
  2265. local modelzorz = Instance.new("Model")
  2266. modelzorz.Parent = workspace.Base
  2267. modelzorz.Name = "Tower Model"
  2268. script.Parent=modelzorz
  2269.  
  2270. local prt1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(2,100,20),cf(100,50,20))
  2271. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(2,100,20),cf(100,50,-20))
  2272. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(2,80,20),cf(100,60,0))
  2273. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(2,100,60),cf(130,50,29)*euler(0,1.57,0))
  2274. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(2,100,60),cf(130,50,-29)*euler(0,1.57,0))
  2275. local prt6=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(2,100,60),cf(160,50,0))
  2276. local prt7=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(80,2,80),cf(130,100,0))
  2277. local prt8=part(3,modelzorz,0,0,BrickColor.new("Br. yellowish green"),"Part8",vt(20,3,20),cf(150,100,0))
  2278. local prt9=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(3,3,79.99),cf(91.51,101,0))
  2279. local prt10=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(3,3,79.99),cf(168.49,101,0))
  2280. local prt11=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part11",vt(3,3,79.99),cf(130,101,38.48)*euler(0,1.57,0))
  2281. local prt12=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part12",vt(3,3,79.99),cf(130,101,-38.48)*euler(0,1.57,0))
  2282. local prt13=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part13",vt(2,20,20),cf(100,110,20))
  2283. local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part14",vt(2,20,20),cf(100,110,-20))
  2284. local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(2,20,20),cf(110,110,29)*euler(0,1.57,0))
  2285. local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(2,20,20),cf(150,110,29)*euler(0,1.57,0))
  2286. local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part17",vt(2,20,20),cf(160,110,20))
  2287. local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(2,20,20),cf(160,110,-20))
  2288. local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(2,20,20),cf(110,110,-29)*euler(0,1.57,0))
  2289. local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(2,20,20),cf(150,110,-29)*euler(0,1.57,0))
  2290. local prt21=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part21",vt(61.9,2,60),cf(130,120,0))
  2291. local prt22=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part22",vt(60,2,60),cf(130,128,0))
  2292. local prt23=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(60,2,60),cf(1500,1500,1500))
  2293. local prt24=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part24",vt(2,100,60),prt23.CFrame*cf(-30,50,0))
  2294. local prt25=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part25",vt(2,100,60),prt23.CFrame*cf(30,50,0))
  2295. local prt26=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part26",vt(2,100,60),prt23.CFrame*cf(0,50,30)*euler(0,1.57,0))
  2296. local prt27=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(2,100,60),prt23.CFrame*cf(0,50,-30)*euler(0,1.57,0))
  2297. local prt28=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part28",vt(20,100,20),prt23.CFrame*cf(0,50,0))
  2298. BasicCFrame=prt28.CFrame*cf(0,50,0)
  2299. local prt29=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part29",vt(199,2,62),BasicCFrame*cf(130.5,0,0))
  2300. prt29.Material="Grass"
  2301. local prt30=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part30",vt(199,2,62),BasicCFrame*cf(-130.5,0,0))
  2302. prt30.Material="Grass"
  2303. local prt31=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part31",vt(460,2,200),BasicCFrame*cf(0,0,131))
  2304. prt31.Material="Grass"
  2305. local prt32=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part32",vt(460,2,200),BasicCFrame*cf(0,0,-131))
  2306. prt32.Material="Grass"
  2307. local prt33=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part33",vt(50,2.2,200),BasicCFrame*cf(0,0,-131))
  2308. local prt34=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part34",vt(50,2.2,200),BasicCFrame*cf(0,0,131))
  2309. local prt35=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35",vt(35,2.2,62),BasicCFrame*cf(-7.5,0,0))
  2310. local prt35b=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35b",vt(15,2.2,31),BasicCFrame*cf(17.5,0,-15.5))
  2311. local prt36=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part36",vt(60,2,30),BasicCFrame*cf(0,-1,-15))
  2312. local prt37=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part37",vt(30,2,30),BasicCFrame*cf(-25,-1,15)*euler(0,1.57,0))
  2313. local prt38=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part38",vt(220,100,62),BasicCFrame*cf(141,-51,0))
  2314. prt38.Material="Slate"
  2315. local prt39=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part39",vt(220,100,62),BasicCFrame*cf(-141,-51,0))
  2316. prt39.Material="Slate"
  2317. local prt40=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part40",vt(502,100,220),BasicCFrame*cf(0,-51,141))
  2318. prt40.Material="Slate"
  2319. local prt41=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part41",vt(502,100,220),BasicCFrame*cf(0,-51,-141))
  2320. prt41.Material="Slate"
  2321. local prt42=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part42",vt(20,200,20),BasicCFrame*cf(0,100,225))
  2322. prt42.CanCollide=false
  2323. local prt43=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part43",vt(80,5,80),BasicCFrame*cf(0,200,225))
  2324. prt43.Material="Wood"
  2325. local prt44=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part44",vt(40,10,40),BasicCFrame*cf(0,200,225))
  2326. local prt45=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part45",vt(1,1,80),BasicCFrame*cf(39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  2327. prt45.Material="Wood"
  2328. local prt46=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part46",vt(1,1,80),BasicCFrame*cf(-39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  2329. prt46.Material="Wood"
  2330. local prt47=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part47",vt(1,80,1),BasicCFrame*cf(0,208,225-39.5)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),1.57+math.rad(math.random(-2,1)+math.random())))
  2331. prt47.Material="Wood"
  2332. local prt48=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part48",vt(20,20,20),prt43.CFrame*cf(0,5,0))
  2333. prt48.CanCollide=false
  2334. local prt49=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(12,2,87))
  2335. prt49.Material="Wood"
  2336. local prt50=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(-12,2,87))
  2337. prt50.Material="Wood"
  2338.  
  2339. local msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1,1,1))
  2340. local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(1,1,1))
  2341. local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1,1))
  2342. local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1,1,1))
  2343. local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1,1,1))
  2344. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(1,1,1))
  2345. local msh7=mesh("BlockMesh",prt7,"","",vt(0,0,0),vt(1,1,1))
  2346. local msh8=mesh("BlockMesh",prt8,"","",vt(0,0,0),vt(1,1,1))
  2347. local msh9=mesh("BlockMesh",prt9,"","",vt(0,0,0),vt(1,1,1))
  2348. local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(1,1,1))
  2349. local msh11=mesh("BlockMesh",prt11,"","",vt(0,0,0),vt(1,1,1))
  2350. local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,1,1))
  2351. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
  2352. local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(1,1,1))
  2353. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(1,1,1))
  2354. local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(1,1,1))
  2355. local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(1,1,1))
  2356. local msh18=mesh("BlockMesh",prt18,"","",vt(0,0,0),vt(1,1,1))
  2357. local msh19=mesh("BlockMesh",prt19,"","",vt(0,0,0),vt(1,1,1))
  2358. local msh20=mesh("BlockMesh",prt20,"","",vt(0,0,0),vt(1,1,1))
  2359. local msh21=mesh("BlockMesh",prt21,"","",vt(0,0,0),vt(1,1,1))
  2360. local msh22=mesh("SpecialMesh",prt22,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(45,10,45))
  2361. local msh23=mesh("BlockMesh",prt23,"","",vt(0,0,0),vt(1,1,1))
  2362. local msh24=mesh("BlockMesh",prt24,"","",vt(0,0,0),vt(1,1,1))
  2363. local msh25=mesh("BlockMesh",prt25,"","",vt(0,0,0),vt(1,1,1))
  2364. local msh26=mesh("BlockMesh",prt26,"","",vt(0,0,0),vt(1,1,1))
  2365. local msh27=mesh("BlockMesh",prt27,"","",vt(0,0,0),vt(1,1,1))
  2366. local msh28=mesh("CylinderMesh",prt28,"","",vt(0,0,0),vt(1,1,1))
  2367. local msh42=mesh("CylinderMesh",prt42,"","",vt(0,0,0),vt(1,1,1))
  2368. local msh48=mesh("SpecialMesh",prt48,"Sphere","",vt(0,0,0),vt(1,1,1))
  2369.  
  2370. local basestairprt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part1",vt(61.9,2,60),cf(130,2,0))
  2371. local basestairmsh=mesh("BlockMesh",basestairprt,"","",vt(0,0,0),vt(1,1,1))
  2372. local basestairprt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part2",vt(20,100,20),cf(130,50,0))
  2373. local basestairmsh2=mesh("CylinderMesh",basestairprt2,"","",vt(0,0,0),vt(1,1,1))
  2374.  
  2375. local teleprt=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part",vt(61,10,59),cf(130,95,0))
  2376. teleprt.CanCollide=false
  2377. local teleprt2=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part2",vt(61,10,59),prt23.CFrame*cf(0,6,0))
  2378. teleprt2.CanCollide=false
  2379. local teleprt3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Teleport Part3",vt(1000,10,1000),BasicCFrame*cf(0,-300,0))
  2380. teleprt3.CanCollide=false
  2381.  
  2382. local skyboxprt=part(3,modelzorz,0,0,BrickColor.new("Black"),"Skybox",vt(1,1,1),BasicCFrame)
  2383. local skyboxmsh=mesh("SpecialMesh",skyboxprt,"FileMesh","http://www.roblox.com/asset/?id=1527559",vt(0,0,0),vt(-1000,-1000,-1000))
  2384. skyboxmsh.TextureId="http://www.roblox.com/asset/?id=24824960"
  2385. coroutine.resume(coroutine.create(function()
  2386. while true do
  2387. wait()
  2388. skyboxprt.CFrame=skyboxprt.CFrame*angles(math.pi/math.random(4000,6000),math.pi/math.random(4000,6000),math.pi/math.random(4000,6000))
  2389. end
  2390. end))
  2391. for i=1,8 do
  2392. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(30,200),10,math.random(-200,200)))
  2393. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  2394. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  2395. tree2.Shape=0
  2396. tree2.Material="Grass"
  2397. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  2398. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(30,200),2.5,math.random(-200,200)))
  2399. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  2400. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  2401. end
  2402. for i=1,8 do
  2403. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(-200,-30),10,math.random(-200,200)))
  2404. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  2405. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  2406. tree2.Shape=0
  2407. tree2.Material="Grass"
  2408. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  2409. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(-200,-30),2.5,math.random(-200,200)))
  2410. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  2411. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  2412. end
  2413.  
  2414. con1=teleprt.Touched:connect(function(hit)
  2415. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  2416. print("Teleported")
  2417. teledebounce=true
  2418. hit.Parent.Torso.CFrame=prt23.CFrame*cf(0,5,20)
  2419. wait(2)
  2420. teledebounce=false
  2421. end
  2422. end)
  2423. con2=teleprt2.Touched:connect(function(hit)
  2424. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  2425. print("Teleported")
  2426. teledebounce=true
  2427. hit.Parent.Torso.CFrame=teleprt.CFrame*cf(0,-5,15)
  2428. wait(2)
  2429. teledebounce=false
  2430. end
  2431. end)
  2432. con3=prt42.Touched:connect(function(hit)
  2433. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  2434. print("Teleported to Statue Island.")
  2435. teledebounce2=true
  2436. Torso=hit.Parent.Torso
  2437. Torso.Anchored=true
  2438. Torso.CFrame=prt42.CFrame*cf(0,-95,0)
  2439. wait(2)
  2440. numb2=0
  2441. for i=0,20 do
  2442. wait(0)
  2443. Torso.CFrame=prt42.CFrame*cf(0,-95+numb2,0)
  2444. numb2=numb2+10
  2445. end
  2446. Torso.Anchored=false
  2447. Torso.Velocity=vt(0,200,0)
  2448. wait(2)
  2449. teledebounce2=false
  2450. end
  2451. end)
  2452. con4=prt48.Touched:connect(function(hit)
  2453. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  2454. print("Teleported out Statue Island.")
  2455. teledebounce2=true
  2456. Torso=hit.Parent.Torso
  2457. Torso.Anchored=true
  2458. Torso.CFrame=prt48.CFrame*cf(0,3,0)
  2459. wait(2)
  2460. numb2=0
  2461. for i=0,20 do
  2462. wait(0)
  2463. Torso.CFrame=prt48.CFrame*cf(0,3-numb2,0)
  2464. numb2=numb2+10
  2465. end
  2466. Torso.Anchored=false
  2467. wait(2)
  2468. teledebounce2=false
  2469. end
  2470. end)
  2471. con5=teleprt3.Touched:connect(function(hit)
  2472. if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  2473. print("Fallen Teleport")
  2474. hit.Parent.Torso.CFrame=teleprt3.CFrame*cf(-1500,-1000,-1500)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2475. hit.Parent.Humanoid.PlatformStand=true
  2476. end
  2477. end)
  2478.  
  2479. for i=0,50 do
  2480. prtsize=math.random(1,20)
  2481. local prt=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-500,500),math.random(-500,500),math.random(-500,500))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  2482. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2483. coroutine.resume(coroutine.create(function(Part)
  2484. randomnumb=math.random(1,10)+math.random()
  2485. wait(randomnumb)
  2486. while Part.Parent~=nil do
  2487. for i=0,1,0.005 do
  2488. wait()
  2489. Part.Position=Part.Position+vt(0,-0.2,0)
  2490. end
  2491. for i=0,1,0.005 do
  2492. wait()
  2493. Part.Position=Part.Position+vt(0,0.2,0)
  2494. end
  2495. end
  2496. end),prt)
  2497. end
  2498.  
  2499. for i=0,15 do
  2500. prtsize=math.random(0,3)+math.random()
  2501. local prt=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-50,50),math.random(5,170),math.random(200,250))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  2502. prt.Material="Grass"
  2503. coroutine.resume(coroutine.create(function(Part)
  2504. randomnumb=math.random(1,10)+math.random()
  2505. wait(randomnumb)
  2506. while Part.Parent~=nil do
  2507. for i=0,1,0.005 do
  2508. wait()
  2509. Part.Position=Part.Position+vt(0,-0.2,0)
  2510. end
  2511. for i=0,1,0.005 do
  2512. wait()
  2513. Part.Position=Part.Position+vt(0,0.2,0)
  2514. end
  2515. end
  2516. end),prt)
  2517. end
  2518.  
  2519. count=0
  2520. for i=1,15 do
  2521. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5-count,205,225-39.5)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  2522. prt.Material="Wood"
  2523. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  2524. prt.Material="Wood"
  2525. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(-39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  2526. prt.Material="Wood"
  2527. count=count+5.64
  2528. end
  2529.  
  2530. count=0
  2531. for i=1,15 do
  2532. local prt48=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part48",vt(20,1,5),prt43.CFrame*cf(0,2,42+count)*euler(math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random())))
  2533. prt48.Material="Wood"
  2534. count=count+6
  2535. end
  2536.  
  2537. count=-0.25
  2538. for i=0,164 do
  2539. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair",vt(2,3,20),basestairprt.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  2540. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2541. light = Instance.new("PointLight")
  2542. light.Brightness = .8
  2543. light.Range = 100
  2544. light.Parent=prt
  2545. count=count+0.05
  2546. end
  2547. count=0
  2548. for i=0,160 do
  2549. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair2",vt(2,3,20),prt23.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  2550. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2551. light = Instance.new("PointLight")
  2552. light.Brightness = .8
  2553. light.Range = 100
  2554. light.Parent=prt
  2555. count=count+0.05
  2556. end
  2557. count=0
  2558. for i=0,15 do
  2559. local prt=part(3,modelzorz,0,1-count,BrickColor.new("Black"),"Shade",vt(61,1,59),cf(130,70+(count*40),0))
  2560. prt.CanCollide=false
  2561. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2562. count=count+0.05
  2563. end
  2564. count=0
  2565. for i=0,15 do
  2566. local prt=part(3,modelzorz,0,count,BrickColor.new("Black"),"Shade2",vt(61,1,59),prt23.CFrame*cf(0,count*40,0))
  2567. prt.CanCollide=false
  2568. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2569. count=count+0.05
  2570. end
  2571. count=0
  2572. for i=0,15 do
  2573. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51,104,38.48-count))
  2574. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2575. count=count+5.13
  2576. end
  2577. count=0
  2578. for i=0,15 do
  2579. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(168.49,104,38.48-count))
  2580. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2581. count=count+5.13
  2582. end
  2583. count=5.13
  2584. for i=0,13 do
  2585. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,38.48))
  2586. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2587. count=count+5.13
  2588. end
  2589. count=5.13
  2590. for i=0,13 do
  2591. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,-38.48))
  2592. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  2593. count=count+5.13
  2594. end
  2595. print("Fenrier's Tower Dimension loaded.")
  2596. --workspace.Fenrier.Torso.CFrame=teleprt2.CFrame*cf(0,150,0)
  2597. -- mediafire
  2598. --[[
  2599. Copyrighted (C) Fenrier 2013
  2600. ]]
  2601. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement