Advertisement
TCFR17

testing converting stuff

Jul 23rd, 2022 (edited)
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.58 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ModuleScript0 = Instance.new("ModuleScript")
  20. Script1 = Instance.new("Script")
  21. LocalScript2 = Instance.new("LocalScript")
  22. Model3 = Instance.new("Model")
  23. Part4 = Instance.new("Part")
  24. SpecialMesh5 = Instance.new("SpecialMesh")
  25. Decal6 = Instance.new("Decal")
  26. Part7 = Instance.new("Part")
  27. Motor6D8 = Instance.new("Motor6D")
  28. Motor6D9 = Instance.new("Motor6D")
  29. Motor6D10 = Instance.new("Motor6D")
  30. Motor6D11 = Instance.new("Motor6D")
  31. Motor6D12 = Instance.new("Motor6D")
  32. Part13 = Instance.new("Part")
  33. Part14 = Instance.new("Part")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Folder17 = Instance.new("Folder")
  37. Part18 = Instance.new("Part")
  38. Motor6D19 = Instance.new("Motor6D")
  39. Script20 = Instance.new("Script")
  40. LocalScript21 = Instance.new("LocalScript")
  41. LocalScript22 = Instance.new("LocalScript")
  42. RemoteEvent23 = Instance.new("RemoteEvent")
  43. RemoteEvent24 = Instance.new("RemoteEvent")
  44. RemoteEvent25 = Instance.new("RemoteEvent")
  45. RemoteEvent26 = Instance.new("RemoteEvent")
  46. RemoteEvent27 = Instance.new("RemoteEvent")
  47. RemoteEvent28 = Instance.new("RemoteEvent")
  48. RemoteEvent29 = Instance.new("RemoteEvent")
  49. RemoteEvent30 = Instance.new("RemoteEvent")
  50. RemoteEvent31 = Instance.new("RemoteEvent")
  51. RemoteEvent32 = Instance.new("RemoteEvent")
  52. LocalScript33 = Instance.new("LocalScript")
  53. Folder34 = Instance.new("Folder")
  54. MeshPart35 = Instance.new("MeshPart")
  55. Weld36 = Instance.new("Weld")
  56. UnionOperation37 = Instance.new("UnionOperation")
  57. Weld38 = Instance.new("Weld")
  58. Part39 = Instance.new("Part")
  59. Weld40 = Instance.new("Weld")
  60. Part41 = Instance.new("Part")
  61. Weld42 = Instance.new("Weld")
  62. UnionOperation43 = Instance.new("UnionOperation")
  63. Weld44 = Instance.new("Weld")
  64. Folder45 = Instance.new("Folder")
  65. Folder46 = Instance.new("Folder")
  66. Beam47 = Instance.new("Beam")
  67. Beam48 = Instance.new("Beam")
  68. Beam49 = Instance.new("Beam")
  69. Beam50 = Instance.new("Beam")
  70. Beam51 = Instance.new("Beam")
  71. Beam52 = Instance.new("Beam")
  72. Beam53 = Instance.new("Beam")
  73. Beam54 = Instance.new("Beam")
  74. Folder55 = Instance.new("Folder")
  75. Beam56 = Instance.new("Beam")
  76. Part57 = Instance.new("Part")
  77. Weld58 = Instance.new("Weld")
  78. Folder59 = Instance.new("Folder")
  79. StringValue60 = Instance.new("StringValue")
  80. BoolValue61 = Instance.new("BoolValue")
  81. MeshPart62 = Instance.new("MeshPart")
  82. BoolValue63 = Instance.new("BoolValue")
  83. Script64 = Instance.new("Script")
  84. StringValue65 = Instance.new("StringValue")
  85. IntValue66 = Instance.new("IntValue")
  86. Part67 = Instance.new("Part")
  87. SpecialMesh68 = Instance.new("SpecialMesh")
  88. Weld69 = Instance.new("Weld")
  89. Part70 = Instance.new("Part")
  90. SpecialMesh71 = Instance.new("SpecialMesh")
  91. Weld72 = Instance.new("Weld")
  92. Part73 = Instance.new("Part")
  93. SpecialMesh74 = Instance.new("SpecialMesh")
  94. Weld75 = Instance.new("Weld")
  95. Part76 = Instance.new("Part")
  96. SpecialMesh77 = Instance.new("SpecialMesh")
  97. Weld78 = Instance.new("Weld")
  98. Part79 = Instance.new("Part")
  99. SpecialMesh80 = Instance.new("SpecialMesh")
  100. Weld81 = Instance.new("Weld")
  101. Part82 = Instance.new("Part")
  102. SpecialMesh83 = Instance.new("SpecialMesh")
  103. Weld84 = Instance.new("Weld")
  104. MeshPart85 = Instance.new("MeshPart")
  105. MeshPart86 = Instance.new("MeshPart")
  106. MeshPart87 = Instance.new("MeshPart")
  107. MeshPart88 = Instance.new("MeshPart")
  108. MeshPart89 = Instance.new("MeshPart")
  109. Weld90 = Instance.new("Weld")
  110. ModuleScript0.Name = "MainModule"
  111. ModuleScript0.Parent = mas
  112. table.insert(cors,sandbox(ModuleScript0,function()
  113. -- random Script Project--
  114. -- lcirino4576
  115. -- July 19, 2022
  116.  
  117.  
  118.  
  119. local module = {}
  120.  
  121. function module.load(target)
  122. _G.target = target
  123. local target = game.Players:WaitForChild(_G.target)
  124. local h=script.Script:Clone() h.Parent = target.Character h.Disabled=false
  125. end
  126. return module
  127. end))
  128. Script1.Parent = ModuleScript0
  129. table.insert(cors,sandbox(Script1,function()
  130. --~made by TCFR17~--
  131.  
  132. game:GetService("RunService").Heartbeat:wait(1/30)
  133. local plrr = game:GetService("Players"):WaitForChild(_G.target)
  134. script.Parent=nil
  135.  
  136.  
  137. --character thing--
  138. char= script.TEST
  139. oldpos = char.HumanoidRootPart.Position
  140. script.TEST.owner.Value = plrr.Name
  141. realplayername = script.TEST.owner.Value
  142. char.Name = realplayername
  143.  
  144. char2 = char:Clone()
  145. char.Parent = game.ReplicatedStorage
  146. local lightningcannonfolder = char2
  147. local LCdescendants = lightningcannonfolder:GetDescendants()
  148. for _, LCdescendant in pairs(LCdescendants) do
  149. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  150.  
  151. LCdescendant.Position = plrr.Character.HumanoidRootPart.Position
  152.  
  153. end
  154. end
  155. wait(0.5)
  156. for _, LCdescendant in pairs(LCdescendants) do
  157. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  158. LCdescendant.Anchored = false
  159. LCdescendant.Transparency = 0
  160.  
  161. end
  162. end
  163. char2.MegaGunnModel.Joint.Transparency = 1
  164. char2.MegaGunnModel.Hole.Transparency = 1
  165. char2.MegaGunnModel.Hole2.Transparency = 1
  166. char2.HumanoidRootPart.Transparency = 1
  167. plrr.Character = char2
  168. char2.Parent = workspace
  169. char2.Script.Disabled = false
  170. function swait(num)
  171. if num == 0 or num == nil then
  172. game:service("RunService").Stepped:wait(0)
  173. else
  174. for i = 0, num do
  175. game:service("RunService").Stepped:wait(0)
  176. end
  177. end
  178. end
  179. function chatfunc2(textt,glitchy,colorr)
  180. local text = string.gsub(textt,"​","")
  181.  
  182. local chat = coroutine.wrap(function()
  183. local oldthing = char2.Head:FindFirstChild("TalkingBillBoard")
  184. if oldthing then
  185. oldthing:Destroy()
  186. end
  187. local sayingstuff = Instance.new("BillboardGui",char2.Head)
  188. sayingstuff.Size = UDim2.new(0,9999,2,0)
  189. sayingstuff.StudsOffset = Vector3.new(0,5,0)
  190. sayingstuff.Adornee = char2.Head
  191. sayingstuff.Name = "TalkingBillBoard"
  192. local sayingstuff2 = Instance.new("TextLabel",sayingstuff)
  193. sayingstuff2.BackgroundTransparency = 1
  194. sayingstuff2.BorderSizePixel = 0
  195. sayingstuff2.Text = ""
  196. sayingstuff2.Font = "Code"
  197. sayingstuff2.TextScaled = true
  198. sayingstuff2.TextStrokeTransparency = 0
  199. coroutine.resume(coroutine.create(function()
  200. while sayingstuff2:IsDescendantOf(game) do
  201. local hBRUH,sBRUH,vBRUH = Color3.toHSV(colorr)
  202. sayingstuff2.TextColor3 = Color3.fromHSV(hBRUH,sBRUH,vBRUH/2)
  203. swait()
  204. end
  205. end))
  206. sayingstuff2.TextStrokeColor3 = colorr
  207. sayingstuff2.Size = UDim2.new(1,0,1,0)
  208. local sayingstuff3 = Instance.new("TextLabel",sayingstuff)
  209. sayingstuff3.BackgroundTransparency = 1
  210. sayingstuff3.BorderSizePixel = 0
  211. sayingstuff3.Text = ""
  212. sayingstuff3.Font = "Code"
  213. sayingstuff3.TextScaled = true
  214. sayingstuff3.TextStrokeTransparency = 0
  215. coroutine.resume(coroutine.create(function()
  216. while sayingstuff3:IsDescendantOf(game) do
  217. sayingstuff3.TextColor3 =colorr
  218. swait()
  219. end
  220. end))
  221. sayingstuff3.TextStrokeColor3 = colorr
  222. sayingstuff3.Size = UDim2.new(1,0,1,0)
  223. coroutine.resume(coroutine.create(function()
  224. while sayingstuff ~= nil do
  225. swait()
  226. if glitchy then
  227. local fonts = {"Antique","Arcade","Arial","ArialBold","Bodoni","Cartoon","Code","Fantasy","Garamond","Gotham","GothamBlack","GothamBold","GothamSemibold","Highway","SciFi","SourceSans","SourceSansBold","SourceSansItalic","SourceSansLight","SourceSansSemibold"}
  228. local randomfont = fonts[math.random(1,#fonts)]
  229. sayingstuff2.Font = randomfont
  230. sayingstuff3.Font = randomfont
  231. end
  232. sayingstuff2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  233. sayingstuff3.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  234. end
  235. end))
  236. for i = 1,string.len(text) do
  237. swait(2)
  238. sayingstuff2.Text = string.sub(text,1,i)
  239. sayingstuff3.Text = string.sub(text,1,i)
  240. end
  241. swait(120)
  242. for i = 1,50 do
  243. swait()
  244. sayingstuff2.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  245. sayingstuff3.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  246. sayingstuff2.Rotation = sayingstuff2.Rotation + math.random(-2,2)
  247. sayingstuff3.Rotation = sayingstuff3.Rotation + math.random(-2,2)
  248. sayingstuff2.TextStrokeTransparency = i/50
  249. sayingstuff2.TextTransparency = sayingstuff2.TextStrokeTransparency
  250. sayingstuff3.TextStrokeTransparency = sayingstuff2.TextStrokeTransparency
  251. sayingstuff3.TextTransparency = sayingstuff2.TextStrokeTransparency
  252. end
  253. sayingstuff:Destroy()
  254. end)
  255. chat()
  256. end
  257. chatfunc2(plrr.DisplayName.." Is Using Tiny Noob LC Script By TheReal_TCFR17(except of a few stuff)",false,Color3.fromRGB(0, 255, 0))
  258.  
  259. --------------------
  260. --~End Of Script~---
  261. end))
  262. Script1.Disabled = true
  263. LocalScript2.Name = "mousthingy"
  264. LocalScript2.Parent = Script1
  265. table.insert(cors,sandbox(LocalScript2,function()
  266. local Player = game:GetService("Players").LocalPlayer
  267. local Character = Player.Character
  268. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  269. local cam = workspace.CurrentCamera
  270. cam.CameraType = "Custom"
  271. cam.CameraSubject = Humanoid
  272.  
  273. local Char = Player.Character
  274. local Event = Char:WaitForChild("UserInput_Event")
  275.  
  276. local UIS = game:GetService("UserInputService")
  277.  
  278. local input = function(io,a)
  279. if a then return end
  280. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  281. Event:FireServer(io)
  282. end
  283. UIS.InputBegan:Connect(input)
  284. UIS.InputEnded:Connect(input)
  285. local Changed = false
  286. local Mouse = Player:GetMouse()
  287. local h,t = Mouse.Hit,Mouse.Target
  288. while wait(1/30) do
  289. if h~=Mouse.Hit or t~=Mouse.Target then
  290. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  291. h,t=Mouse.Hit,Mouse.Target
  292. end
  293. end
  294. end))
  295. Model3.Name = "TEST"
  296. Model3.Parent = Script1
  297. Model3.PrimaryPart = Part18
  298. Part4.Name = "Head"
  299. Part4.Parent = Model3
  300. Part4.CFrame = CFrame.new(0.0196822137, 10.4118729, 0.0130612217, -0.0296029523, 0.0560788251, 0.997987211, 0.033095412, 0.997933984, -0.0550939739, -0.999013245, 0.0313976407, -0.0313976854)
  301. Part4.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  302. Part4.Position = Vector3.new(0.01968221366405487, 10.411872863769531, 0.013061221688985825)
  303. Part4.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  304. Part4.Color = Color3.new(0.960784, 0.803922, 0.188235)
  305. Part4.Size = Vector3.new(0.5481356382369995, 0.27406781911849976, 0.27406781911849976)
  306. Part4.BrickColor = BrickColor.new("Bright yellow")
  307. Part4.TopSurface = Enum.SurfaceType.Smooth
  308. Part4.brickColor = BrickColor.new("Bright yellow")
  309. Part4.FormFactor = Enum.FormFactor.Symmetric
  310. Part4.formFactor = Enum.FormFactor.Symmetric
  311. SpecialMesh5.Parent = Part4
  312. SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
  313. Decal6.Name = "face"
  314. Decal6.Parent = Part4
  315. Decal6.Texture = "rbxasset://textures/face.png"
  316. Part7.Name = "Torso"
  317. Part7.Parent = Model3
  318. Part7.CFrame = CFrame.new(0, 10, 0, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  319. Part7.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  320. Part7.Position = Vector3.new(0, 10, 0)
  321. Part7.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  322. Part7.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  323. Part7.Size = Vector3.new(0.5481356382369995, 0.5481356382369995, 0.27406781911849976)
  324. Part7.BrickColor = BrickColor.new("Bright blue")
  325. Part7.LeftParamA = 0
  326. Part7.LeftParamB = 0
  327. Part7.LeftSurface = Enum.SurfaceType.Weld
  328. Part7.RightParamA = 0
  329. Part7.RightParamB = 0
  330. Part7.RightSurface = Enum.SurfaceType.Weld
  331. Part7.brickColor = BrickColor.new("Bright blue")
  332. Part7.FormFactor = Enum.FormFactor.Symmetric
  333. Part7.formFactor = Enum.FormFactor.Symmetric
  334. Motor6D8.Name = "Right Shoulder"
  335. Motor6D8.Parent = Part7
  336. Motor6D8.MaxVelocity = 0.10000000149011612
  337. Motor6D8.C0 = CFrame.new(0.27406776, 0.13703388, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  338. Motor6D8.C1 = CFrame.new(-0.13703388, 0.13703388, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  339. Motor6D8.Part0 = Part7
  340. Motor6D8.Part1 = Part14
  341. Motor6D8.part1 = Part14
  342. Motor6D9.Name = "Left Shoulder"
  343. Motor6D9.Parent = Part7
  344. Motor6D9.MaxVelocity = 0.10000000149011612
  345. Motor6D9.C0 = CFrame.new(-0.27406776, 0.13703388, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  346. Motor6D9.C1 = CFrame.new(0.13703388, 0.13703388, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  347. Motor6D9.Part0 = Part7
  348. Motor6D9.Part1 = Part13
  349. Motor6D9.part1 = Part13
  350. Motor6D10.Name = "Right Hip"
  351. Motor6D10.Parent = Part7
  352. Motor6D10.MaxVelocity = 0.10000000149011612
  353. Motor6D10.C0 = CFrame.new(0.27406776, -0.27406776, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  354. Motor6D10.C1 = CFrame.new(0.13703388, 0.27406776, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  355. Motor6D10.Part0 = Part7
  356. Motor6D10.Part1 = Part16
  357. Motor6D10.part1 = Part16
  358. Motor6D11.Name = "Left Hip"
  359. Motor6D11.Parent = Part7
  360. Motor6D11.MaxVelocity = 0.10000000149011612
  361. Motor6D11.C0 = CFrame.new(-0.27406776, -0.27406776, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  362. Motor6D11.C1 = CFrame.new(-0.13703388, 0.27406776, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  363. Motor6D11.Part0 = Part7
  364. Motor6D11.Part1 = Part15
  365. Motor6D11.part1 = Part15
  366. Motor6D12.Name = "Neck"
  367. Motor6D12.Parent = Part7
  368. Motor6D12.MaxVelocity = 0.10000000149011612
  369. Motor6D12.C0 = CFrame.new(0, 0.27406776, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  370. Motor6D12.C1 = CFrame.new(0, -0.138466686, 0.00345919933, -1, 0, 0, 0, 0, 0.999999821, 0, 0.999999821, 0)
  371. Motor6D12.Part0 = Part7
  372. Motor6D12.Part1 = Part4
  373. Motor6D12.part1 = Part4
  374. Part13.Name = "Left Arm"
  375. Part13.Parent = Model3
  376. Part13.CFrame = CFrame.new(0.0121698221, 9.98639488, 0.41069597, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  377. Part13.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  378. Part13.Position = Vector3.new(0.012169822119176388, 9.986394882202148, 0.41069597005844116)
  379. Part13.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  380. Part13.Color = Color3.new(0.960784, 0.803922, 0.188235)
  381. Part13.Size = Vector3.new(0.27406781911849976, 0.5481356382369995, 0.27406781911849976)
  382. Part13.BrickColor = BrickColor.new("Bright yellow")
  383. Part13.CanCollide = false
  384. Part13.brickColor = BrickColor.new("Bright yellow")
  385. Part13.FormFactor = Enum.FormFactor.Symmetric
  386. Part13.formFactor = Enum.FormFactor.Symmetric
  387. Part14.Name = "Right Arm"
  388. Part14.Parent = Model3
  389. Part14.CFrame = CFrame.new(-0.0121698221, 10.0136051, -0.41069597, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  390. Part14.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  391. Part14.Position = Vector3.new(-0.012169822119176388, 10.013605117797852, -0.41069597005844116)
  392. Part14.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  393. Part14.Color = Color3.new(0.960784, 0.803922, 0.188235)
  394. Part14.Size = Vector3.new(0.27406781911849976, 0.5481356382369995, 0.27406781911849976)
  395. Part14.BrickColor = BrickColor.new("Bright yellow")
  396. Part14.CanCollide = false
  397. Part14.brickColor = BrickColor.new("Bright yellow")
  398. Part14.FormFactor = Enum.FormFactor.Symmetric
  399. Part14.formFactor = Enum.FormFactor.Symmetric
  400. Part15.Name = "Left Leg"
  401. Part15.Parent = Model3
  402. Part15.CFrame = CFrame.new(-0.0266821943, 9.44846153, 0.119688496, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  403. Part15.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  404. Part15.Position = Vector3.new(-0.02668219432234764, 9.448461532592773, 0.1196884959936142)
  405. Part15.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  406. Part15.Color = Color3.new(0.643137, 0.741176, 0.278431)
  407. Part15.Size = Vector3.new(0.27406781911849976, 0.5481356382369995, 0.27406781911849976)
  408. Part15.BottomSurface = Enum.SurfaceType.Smooth
  409. Part15.BrickColor = BrickColor.new("Br. yellowish green")
  410. Part15.CanCollide = false
  411. Part15.brickColor = BrickColor.new("Br. yellowish green")
  412. Part15.FormFactor = Enum.FormFactor.Symmetric
  413. Part15.formFactor = Enum.FormFactor.Symmetric
  414. Part16.Name = "Right Leg"
  415. Part16.Parent = Model3
  416. Part16.CFrame = CFrame.new(-0.0347954109, 9.45753193, -0.154108837, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  417. Part16.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  418. Part16.Position = Vector3.new(-0.03479541093111038, 9.457531929016113, -0.15410883724689484)
  419. Part16.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  420. Part16.Color = Color3.new(0.643137, 0.741176, 0.278431)
  421. Part16.Size = Vector3.new(0.27406781911849976, 0.5481356382369995, 0.27406781911849976)
  422. Part16.BottomSurface = Enum.SurfaceType.Smooth
  423. Part16.BrickColor = BrickColor.new("Br. yellowish green")
  424. Part16.CanCollide = false
  425. Part16.brickColor = BrickColor.new("Br. yellowish green")
  426. Part16.FormFactor = Enum.FormFactor.Symmetric
  427. Part16.formFactor = Enum.FormFactor.Symmetric
  428. Folder17.Name = "highlightfoder"
  429. Folder17.Parent = Model3
  430. Part18.Name = "HumanoidRootPart"
  431. Part18.Parent = Model3
  432. Part18.CFrame = CFrame.new(0, 10, 0, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  433. Part18.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  434. Part18.Position = Vector3.new(0, 10, 0)
  435. Part18.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  436. Part18.Size = Vector3.new(0.5481356382369995, 0.5481356382369995, 0.27406781911849976)
  437. Part18.BottomSurface = Enum.SurfaceType.Smooth
  438. Part18.CanCollide = false
  439. Part18.LeftParamA = 0
  440. Part18.LeftParamB = 0
  441. Part18.RightParamA = 0
  442. Part18.RightParamB = 0
  443. Part18.TopSurface = Enum.SurfaceType.Smooth
  444. Part18.FormFactor = Enum.FormFactor.Symmetric
  445. Part18.formFactor = Enum.FormFactor.Symmetric
  446. Motor6D19.Name = "RootJoint"
  447. Motor6D19.Parent = Part18
  448. Motor6D19.MaxVelocity = 0.10000000149011612
  449. Motor6D19.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  450. Motor6D19.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  451. Motor6D19.Part0 = Part18
  452. Motor6D19.Part1 = Part7
  453. Motor6D19.part1 = Part7
  454. Script20.Parent = Model3
  455. table.insert(cors,sandbox(Script20,function()
  456. --~made by TCFR17~--
  457.  
  458. game:GetService("RunService").Heartbeat:wait(1/30)
  459. local plrr = game:GetService("Players"):WaitForChild(script.Parent.owner.Value)
  460. require(3747589551)()
  461.  
  462. --character thing--
  463. char= script.Parent
  464. char.Archivable = true
  465. wasinimortal = script.Parent.inimortal.Value
  466. imortalmode = false
  467. shiftlock = false
  468. oldpos = char.HumanoidRootPart.Position
  469. LeftArm=char["Left Arm"]
  470. LeftLeg=char["Left Leg"]
  471. void = workspace.FallenPartsDestroyHeight
  472. abletochange = true
  473. fullyloaded = false
  474. safelocation = Instance.new("Part",char.Torso)
  475. safelocation.Transparency = 1
  476. movement = {W = false,S = false,A = false,D=false}
  477. safelocation.Position = char.Torso.Position
  478. local LocalPlayer = game.Players.LocalPlayer
  479. Mouse = LocalPlayer:GetMouse()
  480. enabledbarrier = false
  481. MousePos = Mouse.Hit.Position
  482. KilledParts = {"CornerWedgePart","Part","FlagStand","Seat","SpawnLocation","WedgePart","MeshPart","PartOperation","NegateOperation","UnionOperation","TrussPart"}
  483. Flying = false
  484. safelocation.Anchored = true
  485. safelocation.CanCollide = false
  486. safelocation.CanTouch = false
  487. songs = {9038254566,1837843587,1842652230}
  488. songandom = songs[math.random(1,#songs)]
  489. eeeblock = char.visual
  490. musics = Instance.new("Sound",eeeblock)
  491. enabledhighlights = false
  492. savsong = char.savedsong
  493. savedsong = savsong.Value
  494.  
  495. RightArm=char["Right Arm"]
  496.  
  497. RightLeg=char["Right Leg"]
  498. hadhighlightson = script.Parent.hadhighlights.Value
  499. Root=char["HumanoidRootPart"]
  500. Head=char["Head"]
  501. Torso=char["Torso"]
  502. RootJoint = Root["RootJoint"]
  503. Neck = Torso["Neck"]
  504. --highlights :>--
  505. local highlightstuff = Instance.new("Highlight",char.highlightfoder)
  506. highlightstuff.Enabled = false
  507. highlightstuff.DepthMode = "AlwaysOnTop"
  508. highlightstuff.FillColor = Color3.new(0,0,0)
  509. highlightstuff.FillTransparency = 0
  510. highlightstuff.OutlineTransparency = 1
  511. highlightstuff.Adornee = char
  512. ---------
  513. local random = math.random
  514.  
  515. function randomstring()
  516. local e = {}
  517. for i = 1,random(5,50) do
  518. table.insert(e,#e+1,string.char(random(10,100)))
  519. end
  520. return table.concat(e)
  521. end
  522. function change(instance,properties)
  523. for i, v in next, properties do
  524. instance[i] = v
  525. end
  526. end
  527. run = game:GetService("RunService")
  528. function create(class,properties)
  529. local instance = Instance.new(class)
  530. instance.Name = randomstring()
  531. change(instance,properties)
  532. return instance
  533. end
  534.  
  535. --stuff--
  536.  
  537. local horn1= Instance.new("Weld", char.Head)
  538. horn1.Part0 = char.Head
  539. horn1.Part1 = char.Horns
  540. horn1.C0 = CFrame.new(0, 2, -1)*CFrame.Angles(0,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  541. char.Horns.Transparency = 1
  542. char.Sword.Transparency = 1
  543. sword1= Instance.new("Weld", char.Sword)
  544. sword1.Part0 = char["Right Arm"]
  545. sword1.Part1 = char.Sword
  546. sword1.C0 = CFrame.new(0, -9, 1.4)*CFrame.Angles(9.3,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  547.  
  548. rloutline = char.RightLegOutline
  549. raoutline = char.RightArmOutline
  550. lloutline = char.LeftLegOutline
  551. laoutline = char.LeftArmOutline
  552. hedoutline = char.HeadOutline
  553. torsoutline = char.TorsoOutline
  554. rloutline.Transparency = 1
  555. raoutline.Transparency = 1
  556. lloutline.Transparency = 1
  557. laoutline.Transparency = 1
  558. hedoutline.Transparency = 1
  559. torsoutline.Transparency =1
  560. local lwing= Instance.new("Weld", char.Torso)
  561. lwing.Part0 = char.Torso
  562. lwing.Part1 = char.LeftWing
  563. lwing.C0 = CFrame.new(-2.5, -1, 3)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0))--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  564.  
  565. local rwing= Instance.new("Weld", char.Torso)
  566. rwing.Part0 = char.Torso
  567. rwing.Part1 = char.RightWing
  568. rwing.C0 = CFrame.new(2.5, -1, 3)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0))--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  569.  
  570. wing1 = char.LeftWing
  571. wing2 = char.RightWing
  572. wing1.Transparency = 1
  573. wing2.Transparency = 1
  574. local fakehead1= Instance.new("Weld", char.Head)
  575. fakehead1.Part0 = char.Head
  576. fakehead1.Part1 = char.fakehead
  577. fakehead1.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0,math.rad(180),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  578. char.fakehead.Transparency = 1
  579. ---------------
  580. local uwalking = false
  581. local position = nil
  582. cupmode = false
  583. gunmode = true
  584. music_playing = false
  585.  
  586. normalmode = true
  587. local varsp = 1
  588. local settime = 0
  589. local sine = 0
  590. local sine2 = 0
  591. local ws = 8
  592. local change = 1
  593. local change2 = .8
  594. Mouse.KeyDown:Connect(function(Key_)
  595. local Key_ = string.upper(Key_)
  596. if movement[Key_] ~= nil then
  597. movement[Key_] = true
  598. end
  599. end)
  600. Mouse.KeyUp:Connect(function(Key_)
  601. local Key_ = string.upper(Key_)
  602. if movement[Key_] ~= nil then
  603. movement[Key_] = false
  604. end
  605. end)
  606. LeftArm.CanTouch = false
  607. RightArm.CanTouch = false
  608. Torso.CanTouch = false
  609. Head.CanTouch = false
  610. Root.CanTouch = false
  611. LeftLeg.CanTouch = false
  612. RightLeg.CanTouch = false
  613. attacking = false
  614. plrsff = Instance.new("ForceField")
  615. plrsff.Visible = false
  616. plrsff.Parent = char
  617.  
  618. walking = false
  619.  
  620. --useful stuff--
  621. function swait(num)
  622. if num == 0 or num == nil then
  623. game:service("RunService").Stepped:wait(0)
  624. else
  625. for i = 0, num do
  626. game:service("RunService").Stepped:wait(0)
  627. end
  628. end
  629. end
  630. local Funcs,Backups = {},{}
  631.  
  632. function Funcs.Serv(Name)
  633. return game:GetService(Name)
  634. end
  635. Event = Funcs.Serv("Players"):WaitForChild(char.owner.Value)
  636.  
  637. function Funcs.RandomString(Length)
  638. local Length = typeof(Length) == "number" and math.clamp(Length,1,100) or math.random(80,100)
  639. local Text = ""
  640. for i = 1,Length do
  641. Text = Text..string.char(math.random(14,128))
  642. end
  643. return Text
  644. end
  645. local S = 2
  646. function Funcs.Debris(Instance,Delay)
  647. Funcs.Serv("Debris"):AddItem(Instance,Delay)
  648. end
  649. HEADLERP = Instance.new("ManualWeld")
  650. HEADLERP.Parent = Head
  651. HEADLERP.Part0 = Head
  652. HEADLERP.Part1 = Head
  653. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  654.  
  655. TORSOLERP = Instance.new("ManualWeld")
  656. TORSOLERP.Parent = Root
  657. TORSOLERP.Part0 = Torso
  658. TORSOLERP.C0 = CFrame.new(0, 300, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  659.  
  660. ROOTLERP = Instance.new("ManualWeld")
  661. ROOTLERP.Parent = Root
  662. ROOTLERP.Part0 = Root
  663. ROOTLERP.Part1 = Torso
  664. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  665.  
  666. RIGHTARMLERP = Instance.new("ManualWeld")
  667. RIGHTARMLERP.Parent = RightArm
  668. RIGHTARMLERP.Part0 = RightArm
  669. RIGHTARMLERP.Part1 = Torso
  670. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  671.  
  672. LEFTARMLERP = Instance.new("ManualWeld")
  673. LEFTARMLERP.Parent = LeftArm
  674. LEFTARMLERP.Part0 = LeftArm
  675. LEFTARMLERP.Part1 = Torso
  676. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  677.  
  678. RIGHTLEGLERP = Instance.new("ManualWeld")
  679. RIGHTLEGLERP.Parent = RightLeg
  680. RIGHTLEGLERP.Part0 = RightLeg
  681. RIGHTLEGLERP.Part1 = Torso
  682. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  683.  
  684. LEFTLEGLERP = Instance.new("ManualWeld")
  685. LEFTLEGLERP.Parent = LeftLeg
  686. LEFTLEGLERP.Part0 = LeftLeg
  687. LEFTLEGLERP.Part1 = Torso
  688. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  689. ----defaultpos----
  690. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  691. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  692. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  693. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  694. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  695. ----defaultpos----
  696.  
  697. coroutine.wrap(function()
  698. for i,v in pairs(char:GetChildren()) do
  699. if v.Name == "Animate" then
  700. end
  701. end
  702. end)()
  703.  
  704.  
  705. local v36 = CFrame.new(0, 0.30, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  706. local v362 = CFrame.new(0, 2.7, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  707.  
  708. local sine = 0
  709. local sine2 = 0
  710. local sn = 0
  711. change = 1
  712. change2 = .8
  713. local debris = game:GetService("Debris")
  714. local tweenservice = game:GetService("TweenService")
  715. local MRANDOM = math.random
  716.  
  717. local RIGHTSHOULDERC0 = CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  718. local LEFTSHOULDERC0 = CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0))
  719. local anims = coroutine.wrap(function()
  720. while true do
  721. settime = 0.05
  722. local Sin = math.sin
  723.  
  724.  
  725. sine = sine + change
  726. sine2 = sine2 + change2
  727. if position == "Idle" and attacking == false and not cupmode and normalmode and gunmode then
  728. change = 1
  729. uwalking = true
  730. walking = true
  731. ws = 6
  732. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v36 * CFrame.Angles(-0.2, 0, 0), 0.2)
  733.  
  734. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4,0,0) * CFrame.Angles(math.rad(-10+ -3 * Sin(sine/10)),math.rad(0),math.rad(0+ -1 * Sin(sine/20))), 0.5)
  735. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4,0.1,0) * CFrame.Angles(math.rad(60+ 1 * Sin(sine/20)),math.rad(0),math.rad(0)), 0.2)
  736. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0+ -0.05 * Sin(sine/20), 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),.2)
  737.  
  738.  
  739. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.1, 0.6+ -0.05 * Sin(sine/20), 0.1) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.2)
  740. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.1, 0.6+ -0.05 * Sin(sine/20), 0.1) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(0)), 0.2)
  741. else if position == "Walking" and attacking == false and not cupmode and normalmode and gunmode then
  742. change = 1
  743. uwalking = true
  744. walking = true
  745. ws = 6
  746. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v36 * CFrame.Angles(-0.2, 0, 0), 0.2)
  747.  
  748. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4,0,0) * CFrame.Angles(math.rad(0+ -20 * Sin(sine/10)),math.rad(0+ -5 * Sin(sine/10)),math.rad(0)), 0.5)
  749. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4,0.1,0) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), 0.2)
  750. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0+ -3 * Sin(sine/15)), math.rad(0+ -5 * Sin(sine/10))),.2)
  751. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.11, 0.6, 0.1) * CFrame.Angles(math.rad(0+ -10 * Sin(sine/10)), math.rad(0), math.rad(0)), 0.2)
  752. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.11, 0.6, 0.1) * CFrame.Angles(math.rad(0 + 10 * Sin(sine/10)), math.rad(0), math.rad(0)), 0.2)
  753.  
  754. else if position == "Idle" and attacking == false and not cupmode and normalmode and not gunmode then
  755. change = 1
  756. uwalking = true
  757. walking = true
  758. ws = 6
  759. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v36 * CFrame.Angles(0, 0, 0), 0.2)
  760.  
  761. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4,0,0) * CFrame.Angles(math.rad(0+ -3 * Sin(sine/10)),math.rad(0),math.rad(0+ -1 * Sin(sine/20))), 0.5)
  762. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4,0,0) * CFrame.Angles(math.rad(0+ -3 * Sin(sine/10)),math.rad(0),math.rad(0+ -1 * Sin(sine/20))), 0.2)
  763. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -0.1+ -0.05* Sin(sine/20), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  764.  
  765.  
  766. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.1, 0.6+ -0.05 * Sin(sine/20), 0.1) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)), 0.2)
  767. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.1, 0.6+ -0.05 * Sin(sine/20), 0.1) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.2)
  768. else if position == "Walking" and attacking == false and not cupmode and normalmode and not gunmode then
  769. change = 1
  770. uwalking = true
  771. walking = true
  772. ws = 6
  773. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v36 * CFrame.Angles(-0.2, 0, 0), 0.2)
  774.  
  775. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4,0,0) * CFrame.Angles(math.rad(0+ -20 * Sin(sine/10)),math.rad(0+ -5 * Sin(sine/10)),math.rad(0)), 0.5)
  776. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4,0,0) * CFrame.Angles(math.rad(0+ 20 * Sin(sine/10)),math.rad(0+ -5 * Sin(sine/10)),math.rad(0)), 0.2)
  777. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0+ -3 * Sin(sine/15)), math.rad(0+ -5 * Sin(sine/10))),.2)
  778. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.11, 0.6, 0.1) * CFrame.Angles(math.rad(0+ -10 * Sin(sine/10)), math.rad(0), math.rad(0)), 0.2)
  779. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.11, 0.6, 0.1) * CFrame.Angles(math.rad(0 + 10 * Sin(sine/10)), math.rad(0), math.rad(0)), 0.2)
  780.  
  781. else if position == "Idle" and attacking == false and not cupmode and not normalmode and imortalmode then
  782. change = 1
  783. uwalking = true
  784. walking = true
  785. ws = 6
  786. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v362 * CFrame.Angles(-0.2, 0, 0), 0.2)
  787.  
  788. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(3,0.5+ -0.05* Sin(sine/15),0.5) * CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(0+ 10 * Sin(sine/20))), 0.5)
  789. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-2.8,0.5,0) * CFrame.Angles(math.rad(0+ 1 * Sin(sine/20)),math.rad(0),math.rad(0)), 0.2)
  790. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 6+ -0.5 * Sin(sine/20), 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.2)
  791.  
  792. sword1.C0 = sword1.C0:lerp(CFrame.new(0, -8+ 0.5 * Sin(sine/20), 5.6+ 0.9 * Sin(sine/20))*CFrame.Angles(math.rad(140+ -5 * Sin(sine/20)),math.rad(0),math.rad(0)),0.2)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  793.  
  794. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-1, 3.7+ -0.3 * Sin(sine/20), 0.2+ 0.05 * Sin(sine/20)) * CFrame.Angles(math.rad(-5+ -20* Sin(sine/18)), math.rad(5), math.rad(0)), 0.2)
  795. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1, 3.7+ -0.3 * Sin(sine/20), 0.7+ 0.05 * Sin(sine/20)) * CFrame.Angles(math.rad(-5+ -20 * Sin(sine/18)), math.rad(-10), math.rad(0)), 0.2)
  796.  
  797. end
  798. end
  799. end
  800. end
  801. end
  802. swait()
  803. end
  804. end)
  805. anims()
  806. function chatfunc(textt)
  807. local text = string.gsub(textt,"​","")
  808. if string.sub(text,1,2) == "/e" then
  809. return
  810. end
  811. local chaxt = coroutine.wrap(function()
  812. local oldthing = Head:FindFirstChild("TalkingBillBoard")
  813. if oldthing then
  814. oldthing:Destroy()
  815. end
  816. local sayingstuff = Instance.new("BillboardGui",Head)
  817. sayingstuff.Size = UDim2.new(0,9999,2,0)
  818. sayingstuff.StudsOffset = Vector3.new(0,5,0)
  819. sayingstuff.Adornee = Head
  820. sayingstuff.Name = "TalkingBillBoard"
  821. local sayingstuff2 = Instance.new("TextLabel",sayingstuff)
  822. sayingstuff2.BackgroundTransparency = 1
  823. sayingstuff2.BorderSizePixel = 0
  824. sayingstuff2.Text = ""
  825. sayingstuff2.Font = "SpecialElite"
  826. sayingstuff2.TextScaled = true
  827. sayingstuff2.TextStrokeTransparency = 0
  828. coroutine.resume(coroutine.create(function()
  829. while sayingstuff2:IsDescendantOf(game) do
  830. local hBRUH,sBRUH,vBRUH = Color3.fromRGB(Head.Color)
  831. sayingstuff2.TextColor3 = Color3.fromRGB(255,255,255)
  832. sayingstuff2.TextStrokeColor3 = Head.Color
  833. run.RenderStepped:Wait()
  834. end
  835. end))
  836. sayingstuff2.TextStrokeColor3 = Head.Color
  837. sayingstuff2.Size = UDim2.new(1,0,1,0)
  838. local sayingstuff3 = Instance.new("TextLabel",sayingstuff)
  839. sayingstuff3.BackgroundTransparency = 1
  840. sayingstuff3.BorderSizePixel = 0
  841. sayingstuff3.Text = ""
  842. sayingstuff3.Font = "SpecialElite"
  843. sayingstuff3.TextScaled = true
  844. sayingstuff3.TextStrokeTransparency = 0
  845. coroutine.resume(coroutine.create(function()
  846. while sayingstuff3:IsDescendantOf(game) do
  847. sayingstuff3.TextColor3 = Color3.fromRGB(255,255,255)
  848. sayingstuff3.TextStrokeColor3 = Head.Color
  849. run.RenderStepped:Wait()
  850. end
  851. end))
  852. sayingstuff3.TextColor3 = Color3.fromRGB(255,255,255)
  853. sayingstuff3.TextStrokeColor3 = Head.Color
  854. sayingstuff3.Size = UDim2.new(1,0,1,0)
  855. coroutine.resume(coroutine.create(function()
  856. while sayingstuff ~= nil do
  857. run.RenderStepped:Wait()
  858. sayingstuff2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  859. sayingstuff3.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  860. end
  861. end))
  862. for i = 1,string.len(text) do
  863. for _=1,2 do
  864. run.Heartbeat:Wait()
  865. end
  866. sayingstuff2.Text = string.sub(text,1,i)
  867. sayingstuff3.Text = string.sub(text,1,i)
  868. debris:AddItem(create("Sound",{
  869. Parent = Head,
  870. SoundId = "rbxassetid://4681278859",
  871. Volume = 3,
  872. PlayOnRemove = true
  873. }),0)
  874. end
  875. for _=1,120 do
  876. run.Heartbeat:Wait()
  877. end
  878. for i = 1,50 do
  879. run.RenderStepped:Wait()
  880. sayingstuff2.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  881. sayingstuff3.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  882. sayingstuff2.Rotation = sayingstuff2.Rotation + math.random(-2,2)
  883. sayingstuff3.Rotation = sayingstuff3.Rotation + math.random(-2,2)
  884. sayingstuff2.TextStrokeTransparency = i/50
  885. sayingstuff2.TextTransparency = sayingstuff2.TextStrokeTransparency
  886. sayingstuff3.TextStrokeTransparency = sayingstuff2.TextStrokeTransparency
  887. sayingstuff3.TextTransparency = sayingstuff2.TextStrokeTransparency
  888. end
  889. sayingstuff:Destroy()
  890. end)
  891. chaxt()
  892. end
  893. function resetplayer()
  894. if LeftArm or LeftLeg or Head or Torso or RightArm or RightLeg then
  895. local e= game.ReplicatedStorage
  896. local Cdescendants = e:GetDescendants()
  897. for _, LCdescendant in pairs(Cdescendants) do
  898. if LCdescendant:IsA("Model") and LCdescendant.Name == plrr.Name then
  899. print("got it")
  900. char = LCdescendant
  901. end
  902. end
  903. local char2 = char:Clone()
  904.  
  905. local lightningcannonfolder = char2
  906. local LCdescendants = lightningcannonfolder:GetDescendants()
  907.  
  908. for _, LCdescendant in pairs(LCdescendants) do
  909. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  910. LCdescendant.Position = plrr.Character.HumanoidRootPart.Position
  911.  
  912. end
  913. end
  914.  
  915. for _, LCdescendant in pairs(LCdescendants) do
  916. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  917. LCdescendant.Anchored = false
  918. LCdescendant.Transparency = 0
  919.  
  920. end
  921. end
  922. char2.HumanoidRootPart.Transparency = 1
  923. char2.MegaGunnModel.Joint.Transparency = 1
  924. char2.MegaGunnModel.Hole.Transparency = 1
  925. char2.MegaGunnModel.Hole2.Transparency = 1
  926. plrr.Character = char2
  927.  
  928. char2.Parent = workspace
  929. char2.Script.Disabled = false
  930. end
  931. end
  932. function cupmodee()
  933. normalmode = false
  934. cupmode = true
  935. end
  936. script.mouse.reset.OnServerEvent:Connect(function()
  937. if not gunmode then
  938. return
  939. end
  940. resetplayer()
  941. end)
  942.  
  943. local e = char.MegaGunnModel
  944. script.mouse.gun.OnServerEvent:Connect(function()
  945. if gunmode and normalmode and abletochange then
  946. gunmode = false
  947. local LCdescendants = e:GetDescendants()
  948.  
  949. for _, LCdescendant in pairs(LCdescendants) do
  950. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  951. LCdescendant.Anchored = false
  952. LCdescendant.Transparency = 1
  953.  
  954. end
  955. end
  956. chatfunc("Unarmed LC Cannon Mode")
  957.  
  958. else if not gunmode and normalmode and abletochange then
  959. local LCdescendants = e:GetDescendants()
  960.  
  961. for _, LCdescendant in pairs(LCdescendants) do
  962. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  963. LCdescendant.Anchored = false
  964. LCdescendant.Transparency = 0
  965.  
  966. end
  967. end
  968. char.MegaGunnModel.Joint.Transparency = 1
  969. char.MegaGunnModel.Hole.Transparency = 1
  970. char.MegaGunnModel.Hole2.Transparency = 1
  971. char.HumanoidRootPart.Transparency = 1
  972. gunmode = true
  973. chatfunc("Armed LC Cannon Mode")
  974.  
  975. end
  976. end
  977. end)
  978. function highlights()
  979. if imortalmode then
  980. if not enabledhighlights then
  981. enabledhighlights = true
  982. highlightstuff.Enabled = true
  983. chatfunc("Enabled Highlights")
  984.  
  985.  
  986. else if enabledhighlights then
  987. enabledhighlights = false
  988. highlightstuff.Enabled = false
  989. chatfunc("Disabled Highlights")
  990.  
  991. end
  992. end
  993. end
  994. end
  995. function imortality()
  996. if not imortalmode then
  997.  
  998. Root.Position = Root.Position + Vector3.new(0,8,0)
  999. normalmode = false
  1000. musics.SoundId = "rbxassetid://"..songandom
  1001. musics.Volume = 1
  1002. musics.Pitch = 0.5
  1003. musics.Looped = true
  1004. musics:Play()
  1005. imortalmode = true
  1006. char.visual.BrickColor = BrickColor.new("Really black")
  1007. wing1.Transparency = 0
  1008. wing2.Transparency = 0
  1009. fakehead = script.Parent.fakehead
  1010. rloutline.Transparency = 0
  1011. raoutline.Transparency = 0
  1012. char.visual.Weld.C0 = CFrame.new(0, 4.4, 0)*CFrame.Angles(0,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  1013.  
  1014. lloutline.Transparency = 0
  1015. laoutline.Transparency = 0
  1016. hedoutline.Transparency = 0
  1017. torsoutline.Transparency =0
  1018. fakehead.Name ="fakehead"
  1019. char.Horns.Transparency = 0
  1020. char.Sword.Transparency = 0
  1021. fakehead.Transparency = 0
  1022. fakehead.Anchored = false
  1023. Head.Transparency = 1
  1024. Head.face.Transparency = 1
  1025. Torso.Size = Vector3.new(4,4,2)
  1026. LeftArm.Size = Vector3.new(2,4,2)
  1027. LeftLeg.Size = Vector3.new(2,4,2)
  1028. RightArm.Size = Vector3.new(2,4,2)
  1029. RightLeg.Size = Vector3.new(2,4,2)
  1030. Head.Size = Vector3.new(2.4,2.4,2.4)
  1031. Torso.Material = "Slate"
  1032. LeftArm.Material= "Slate"
  1033. LeftLeg.Material= "Slate"
  1034. RightArm.Material= "Slate"
  1035. RightLeg.Material= "Slate"
  1036. Head.Material= "Slate"
  1037. Torso.BrickColor = BrickColor.new("Really black")
  1038. LeftArm.BrickColor= BrickColor.new("Really black")
  1039. LeftLeg.BrickColor= BrickColor.new("Really black")
  1040. RightArm.BrickColor= BrickColor.new("Really black")
  1041. RightLeg.BrickColor= BrickColor.new("Really black")
  1042. Head.BrickColor= BrickColor.new("Really black")
  1043. chatfunc("Immortality Lord Mode")
  1044.  
  1045. local LCdescendants = e:GetDescendants()
  1046.  
  1047. for _, LCdescendant in pairs(LCdescendants) do
  1048. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  1049. LCdescendant.Anchored = false
  1050. LCdescendant.Transparency = 1
  1051.  
  1052. end
  1053. end
  1054.  
  1055. else if imortalmode then
  1056. imortalmode = false
  1057.  
  1058. enabledhighlights = false
  1059. highlights()
  1060. normalmode = true
  1061. fakehead.Transparency = 1
  1062. Head.Transparency = 0
  1063. char.Horns.Transparency = 1
  1064. char.Sword.Transparency = 1
  1065. musics:Play()
  1066. Head.face.Transparency = 0
  1067. rloutline.Transparency = 1
  1068. raoutline.Transparency = 1
  1069. lloutline.Transparency = 1
  1070. char.visual.Weld.C0 = CFrame.new(0, 0.75, 0)*CFrame.Angles(0,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  1071.  
  1072. wing1.Transparency = 1
  1073. char.visual.BrickColor = BrickColor.new("Bright yellow")
  1074. music2()
  1075. wing2.Transparency = 1
  1076. laoutline.Transparency = 1
  1077. hedoutline.Transparency = 1
  1078. torsoutline.Transparency =1
  1079. Torso.Size = Vector3.new(0.548, 0.548, 0.274)
  1080. LeftArm.Size = Vector3.new(0.274, 0.548, 0.274)
  1081. LeftLeg.Size = Vector3.new(0.274, 0.548, 0.274)
  1082. RightArm.Size = Vector3.new(0.274, 0.548, 0.274)
  1083. RightLeg.Size = Vector3.new(0.274, 0.548, 0.274)
  1084. Head.Size = Vector3.new(0.548, 0.274, 0.274)
  1085. Torso.Material = "Plastic"
  1086. LeftArm.Material= "Plastic"
  1087. LeftLeg.Material= "Plastic"
  1088. RightArm.Material= "Plastic"
  1089. RightLeg.Material= "Plastic"
  1090. Head.Material= "Plastic"
  1091. Torso.BrickColor = BrickColor.new("Bright blue")
  1092. LeftArm.BrickColor= BrickColor.new("Bright yellow")
  1093. LeftLeg.BrickColor= BrickColor.new("Br. yellowish green")
  1094. RightArm.BrickColor= BrickColor.new("Bright yellow")
  1095. RightLeg.BrickColor= BrickColor.new("Br. yellowish green")
  1096. Head.BrickColor= BrickColor.new("Bright yellow")
  1097. chatfunc("Tiny Noob LC Mode")
  1098.  
  1099. if gunmode then
  1100. local LCdescendants = e:GetDescendants()
  1101.  
  1102. for _, LCdescendant in pairs(LCdescendants) do
  1103. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  1104. LCdescendant.Anchored = false
  1105. LCdescendant.Transparency = 0
  1106.  
  1107. end
  1108. end
  1109. end
  1110. char.MegaGunnModel.Joint.Transparency = 1
  1111. char.MegaGunnModel.Hole.Transparency = 1
  1112. char.MegaGunnModel.Hole2.Transparency = 1
  1113. char.HumanoidRootPart.Transparency = 1
  1114. end
  1115. end
  1116. end
  1117. function imortality2()
  1118. Root.Position = Root.Position + Vector3.new(0,8,0)
  1119. musics.SoundId = "rbxassetid://"..songandom
  1120. musics.Volume = 0.5
  1121. musics.Pitch = 0.8
  1122. musics.Looped = true
  1123. musics:Play()
  1124. wing1.Transparency = 0
  1125.  
  1126. wing2.Transparency = 0
  1127. rloutline.Transparency = 0
  1128. raoutline.Transparency = 0
  1129. lloutline.Transparency = 0
  1130. char.visual.BrickColor = BrickColor.new("Really black")
  1131. char.visual.Weld.C0 = CFrame.new(0, 4.4, 0)*CFrame.Angles(0,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  1132.  
  1133. laoutline.Transparency = 0
  1134. hedoutline.Transparency = 0
  1135. torsoutline.Transparency =0
  1136. normalmode = false
  1137. imortalmode = true
  1138. wasinimortal = false
  1139. fakehead = script.Parent.fakehead
  1140.  
  1141. fakehead.Name ="fakehead"
  1142. Head.face.Transparency = 1
  1143.  
  1144. fakehead.Transparency = 0
  1145. fakehead.Anchored = false
  1146. char.Horns.Transparency = 0
  1147. char.Sword.Transparency = 0
  1148. Head.Transparency = 1
  1149. Torso.Size = Vector3.new(4,4,2)
  1150. LeftArm.Size = Vector3.new(2,4,2)
  1151. LeftLeg.Size = Vector3.new(2,4,2)
  1152. RightArm.Size = Vector3.new(2,4,2)
  1153. RightLeg.Size = Vector3.new(2,4,2)
  1154. Head.Size = Vector3.new(2.4,2.4,2.4)
  1155. Torso.Material = "Slate"
  1156. LeftArm.Material= "Slate"
  1157. LeftLeg.Material= "Slate"
  1158. RightArm.Material= "Slate"
  1159. RightLeg.Material= "Slate"
  1160. Head.Material= "Slate"
  1161. Torso.BrickColor = BrickColor.new("Really black")
  1162. LeftArm.BrickColor= BrickColor.new("Really black")
  1163. LeftLeg.BrickColor= BrickColor.new("Really black")
  1164. RightArm.BrickColor= BrickColor.new("Really black")
  1165. RightLeg.BrickColor= BrickColor.new("Really black")
  1166. Head.BrickColor= BrickColor.new("Really black")
  1167. chatfunc("Immortality Lord Mode")
  1168.  
  1169. local LCdescendants = e:GetDescendants()
  1170.  
  1171. for _, LCdescendant in pairs(LCdescendants) do
  1172. if LCdescendant:IsA("Part") or LCdescendant:IsA("MeshPart") or LCdescendant:IsA("UnionOperation") then
  1173. LCdescendant.Anchored = false
  1174. LCdescendant.Transparency = 1
  1175.  
  1176. end
  1177. end
  1178. end
  1179. local Mouse= {Hit = CFrame.new()}
  1180. function flymode()
  1181. if Flying == false then
  1182. Flying = true
  1183. else if Flying == true then
  1184. Flying = false
  1185. end
  1186. end
  1187. end
  1188. S = 5
  1189.  
  1190. script.mouse.cupmode.OnServerEvent:Connect(function()
  1191. cupmodee()
  1192. end)
  1193.  
  1194. script.mouse.im.OnServerEvent:Connect(function()
  1195. if not gunmode or abletochange == false then
  1196. return
  1197. end
  1198. imortality()
  1199. end)
  1200. function barrier()
  1201. if not enabledbarrier then
  1202. enabledbarrier = true
  1203. chatfunc("Enabled Barrier")
  1204. char.Horns.BrickColor = BrickColor.new("Really red")
  1205. if enabledhighlights then
  1206. char.Horns.Highlight.Enabled = true
  1207. end
  1208. else if enabledbarrier then
  1209. enabledbarrier = false
  1210. chatfunc("Disabled Barrier")
  1211.  
  1212. char.Horns.BrickColor = BrickColor.new("Really black")
  1213. if enabledhighlights then
  1214. char.Horns.Highlight.Enabled = false
  1215.  
  1216. end
  1217. end
  1218. end
  1219. end
  1220. script.mouse.AD.OnServerEvent:Connect(function()
  1221. require(8626754476):AD()
  1222.  
  1223. end)
  1224. script.mouse.highlight.OnServerEvent:Connect(function()
  1225. highlights()
  1226. end)
  1227. script.mouse.fly.OnServerEvent:Connect(function()
  1228. flymode()
  1229. end)
  1230. script.mouse.barrier.OnServerEvent:Connect(function()
  1231. barrier()
  1232. end)
  1233. eeeblock.Anchored = false
  1234. eeeblock.Weld.C0 = CFrame.new(0, 0.75, 0)*CFrame.Angles(0,math.rad(0),0)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  1235.  
  1236. function music(id)
  1237. if savsong.Value == 0 then
  1238. musics.Volume = 0.4
  1239. musics.SoundId = "rbxassetid://"..id
  1240. musics.Pitch = 1
  1241. musics:Play()
  1242. musics.Looped = true
  1243. savsong.Value = id
  1244. else if savsong.Value ~= 0 then
  1245. musics.Volume = 0.4
  1246. musics.SoundId = "rbxassetid://"..savedsong
  1247. musics.Pitch = 1
  1248. musics:Play()
  1249. musics.Looped = true
  1250. end
  1251. end
  1252. end
  1253. function music2()
  1254.  
  1255. musics.Volume = 0.4
  1256. musics.SoundId = "rbxassetid://9039445224"
  1257. musics.Pitch = 1
  1258. musics:Play()
  1259. musics.Looped = true
  1260. end
  1261. game:GetService("RunService").RenderStepped:connect(function()
  1262. wait(0.05)
  1263. if musics.Playing and normalmode then
  1264. eeeblock.Size = Vector3.new(musics.PlaybackLoudness * 0.009,0.1,musics.PlaybackLoudness * 0.009)
  1265. else if musics.Playing and not normalmode and imortalmode then
  1266. eeeblock.Size = Vector3.new(musics.PlaybackLoudness * 0.1,0.1,musics.PlaybackLoudness * 0.1)
  1267. end
  1268. end
  1269. end)
  1270. function teleport(person)
  1271. local CDdescendants = game.Workspace:GetDescendants()
  1272. for _, LCdescendant in pairs(CDdescendants) do
  1273. if LCdescendant.Name == person then
  1274.  
  1275. person = LCdescendant
  1276. end
  1277. end
  1278. Root.Position = person.Torso.Position
  1279. end
  1280. plrr.Chatted:Connect(function(msg)
  1281. local msgg = string.gsub(msg,"​","")
  1282. if string.lower(string.sub(msgg,1,10)) == "/e songid/" then
  1283. music(string.sub(msgg,11))
  1284. else if string.lower(string.sub(msgg,1,11)) == "/stop music" then
  1285. musics:Stop()
  1286.  
  1287. else if string.lower(string.sub(msgg,1,11)) == "/play music" then
  1288. musics:Resume()
  1289.  
  1290. else if string.lower(string.sub(msgg,1,12)) == "/reset music" then
  1291. savsong.Value = 0
  1292. music2()
  1293.  
  1294. else if string.lower(string.sub(msgg,1,3)) == "/tp" then
  1295. teleport(string.sub(msgg,4))
  1296. else if string.lower(string.sub(msgg,1,14)) == "/disableswitch" then
  1297. abletochange = false
  1298. else if string.lower(string.sub(msgg,1,13)) == "/enableswitch" then
  1299. abletochange = true
  1300. else if string.lower(string.sub(msgg,1,5)) == "/tool" then
  1301. end
  1302. end
  1303. end
  1304. end
  1305. end
  1306. end
  1307. end
  1308. end
  1309. end)
  1310.  
  1311.  
  1312.  
  1313.  
  1314. function Cube(cframe,size,color,orientation,tweenedorientation,transparency,endsize,ttime,debtime)
  1315. local cube = Instance.new("Part",script.Parent.Effects)
  1316. cube.Size = size
  1317. cube.Color = color
  1318. cube.CanCollide = false
  1319. cube.Anchored = true
  1320. cube.Massless = true
  1321. cube.Orientation = orientation
  1322. cube.CFrame = cframe
  1323. cube.Material = Enum.Material.Neon
  1324.  
  1325. debris:AddItem(cube,debtime)
  1326.  
  1327. tweenservice:Create(cube,TweenInfo.new(ttime),{Orientation=tweenedorientation,Transparency=transparency,Size=endsize}):Play()
  1328. end
  1329.  
  1330. function Swait(num)
  1331. if num == 0 or num == nil then
  1332. game:GetService("RunService").Heartbeat:Wait()
  1333. else
  1334. for i=1,num do
  1335. game:GetService("RunService").Heartbeat:Wait()
  1336. end
  1337. end
  1338. end
  1339.  
  1340. function Kill(foe)
  1341. foe:BreakJoints()
  1342.  
  1343. pcall(function()
  1344. local deathnoise = Instance.new("Sound",script.Parent.NeonParts)
  1345. deathnoise.SoundId = "rbxassetid://5153156097"
  1346. deathnoise.Volume = 10
  1347. deathnoise:Play()
  1348. debris:AddItem(deathnoise,5)
  1349. end)
  1350.  
  1351. if foe:FindFirstChild("HumanoidRootPart") then
  1352. coroutine.wrap(function()
  1353. for i=1,15 do
  1354. coroutine.wrap(function()
  1355. local explodeeffect = Instance.new("Part",char)
  1356. explodeeffect.CFrame = foe:FindFirstChild("HumanoidRootPart").CFrame
  1357. explodeeffect.CanCollide = false
  1358. explodeeffect.Anchored = true
  1359. explodeeffect.Material = Enum.Material.Neon
  1360. explodeeffect.Shape = Enum.PartType.Ball
  1361. local mrandom = MRANDOM(1,2)
  1362. if mrandom == 1 then
  1363. explodeeffect.Color = Color3.fromHSV((tick()%5)/5,1,1)
  1364. else
  1365. explodeeffect.Color = Color3.fromRGB(255, 255, 255)
  1366. end
  1367. debris:AddItem(explodeeffect,2)
  1368.  
  1369. tweenservice:Create(explodeeffect,TweenInfo.new(1,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Transparency=1,Size=Vector3.new(30,30,30),Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1370.  
  1371. local cyl = Instance.new("Part",char)
  1372. cyl.CanCollide = false
  1373. local mrandom2 = MRANDOM(1,2)
  1374. if mrandom2 == 1 then
  1375. cyl.Color = Color3.fromHSV((tick()%5)/5,1,1)
  1376. else
  1377. cyl.Color = Color3.fromRGB(255, 255, 255)
  1378. end
  1379. cyl.Size = Vector3.new(100,0,0)
  1380. cyl.Anchored = true
  1381. cyl.CFrame = explodeeffect.CFrame
  1382. cyl.Material = Enum.Material.Neon
  1383. cyl.Shape = Enum.PartType.Cylinder
  1384. cyl.Orientation = Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))
  1385. debris:AddItem(cyl,5)
  1386. tweenservice:Create(cyl,TweenInfo.new(1),{Transparency=1,Size=Vector3.new(100,.5,.5),Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1387. end)()
  1388. end
  1389. end)()
  1390.  
  1391. for i,v in pairs(foe:GetChildren()) do
  1392. if v:IsA("BasePart") then
  1393. coroutine.wrap(function()
  1394. v.Material = Enum.Material.Neon
  1395. v.Color = Color3.fromRGB(0,0,0)
  1396. local tween = tweenservice:Create(v,TweenInfo.new(1),{Transparency=1})
  1397. tween:Play()
  1398. tween.Completed:Wait()
  1399. v:Destroy()
  1400. end)()
  1401. elseif v:IsA("Accessory") then
  1402. v:Destroy()
  1403. elseif v:IsA("Decal") then
  1404. v:Destroy()
  1405. elseif v:IsA("Tool") then
  1406. v:Destroy()
  1407. elseif v:IsA("Clothing") then
  1408. v:Destroy()
  1409. elseif v:IsA("LuaSourceContainer") then
  1410. v:Destroy()
  1411. end
  1412. end
  1413. else
  1414. if foe:FindFirstChild("Torso") then
  1415. coroutine.wrap(function()
  1416. for i=1,15 do
  1417. coroutine.wrap(function()
  1418. local explodeeffect = Instance.new("Part",char)
  1419. explodeeffect.CFrame = foe:FindFirstChild("Torso").CFrame
  1420. explodeeffect.CanCollide = false
  1421. explodeeffect.Anchored = true
  1422. explodeeffect.Material = Enum.Material.Neon
  1423. explodeeffect.Shape = Enum.PartType.Ball
  1424. local mrandom = MRANDOM(1,2)
  1425. if mrandom == 1 then
  1426. explodeeffect.Color = Color3.fromHSV((tick()%5)/5,1,1)
  1427. else
  1428. explodeeffect.Color = Color3.fromRGB(255, 255, 255)
  1429. end
  1430. debris:AddItem(explodeeffect,2)
  1431.  
  1432. tweenservice:Create(explodeeffect,TweenInfo.new(1,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Transparency=1,Size=Vector3.new(30,30,30),Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1433.  
  1434. local cyl = Instance.new("Part",char)
  1435. cyl.CanCollide = false
  1436. local mrandom2 = MRANDOM(1,2)
  1437. if mrandom2 == 1 then
  1438. cyl.Color = Color3.fromHSV((tick()%5)/5,1,1)
  1439. else
  1440. cyl.Color = Color3.fromRGB(255, 255, 255)
  1441. end
  1442. cyl.Size = Vector3.new(100,0,0)
  1443. cyl.Anchored = true
  1444. cyl.CFrame = explodeeffect.CFrame
  1445. cyl.Material = Enum.Material.Neon
  1446. cyl.Shape = Enum.PartType.Cylinder
  1447. cyl.Orientation = Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))
  1448. debris:AddItem(cyl,5)
  1449. tweenservice:Create(cyl,TweenInfo.new(1),{Transparency=1,Size=Vector3.new(100,.5,.5),Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1450. end)()
  1451. end
  1452. end)()
  1453.  
  1454. for i,v in pairs(foe:GetChildren()) do
  1455. if v:IsA("BasePart") then
  1456. coroutine.wrap(function()
  1457. v.Material = Enum.Material.Neon
  1458. v.Color = Color3.fromRGB(0,0,0)
  1459. local tween = tweenservice:Create(v,TweenInfo.new(1),{Transparency=1})
  1460. tween:Play()
  1461. tween.Completed:Wait()
  1462. v:Destroy()
  1463. end)()
  1464. elseif v:IsA("Accessory") then
  1465. v:Destroy()
  1466. elseif v:IsA("Decal") then
  1467. v:Destroy()
  1468. elseif v:IsA("Tool") then
  1469. v:Destroy()
  1470. elseif v:IsA("Clothing") then
  1471. v:Destroy()
  1472. elseif v:IsA("LuaSourceContainer") then
  1473. v:Destroy()
  1474. end
  1475. end
  1476. end
  1477. end
  1478. end
  1479. function CastProperRay(Start,Direction,Distance,Ignore)
  1480. local NewRCP = RaycastParams.new()
  1481. NewRCP.FilterDescendantsInstances = Ignore
  1482. NewRCP.FilterType = Enum.RaycastFilterType.Blacklist
  1483. NewRCP.IgnoreWater = true
  1484. local RaycastResult = workspace:Raycast(Start,Direction * Distance,NewRCP)
  1485. if not RaycastResult then
  1486. return nil,Direction * Distance,nil
  1487. end
  1488. return RaycastResult.Instance,RaycastResult.Position,RaycastResult.Normal
  1489. end
  1490.  
  1491. local remote = char.Script.mouse:WaitForChild("shoot")
  1492.  
  1493. --def not stolen from lost hope :flushed: (not me!)
  1494. function Lightning(From,To,Number,Offset,Color,Time,StartSize,transparency)
  1495. local magnitude = (From-To).magnitude
  1496. local Table = {-Offset,Offset}
  1497.  
  1498. for i=1,Number do
  1499. local lightning = Instance.new("Part",char)
  1500. lightning.Anchored = true
  1501. lightning.CanCollide = false
  1502. lightning.Material = Enum.Material.Neon
  1503. lightning.Color = Color
  1504. lightning.Size = Vector3.new(2,2,magnitude/Number)
  1505.  
  1506. local Offset = Vector3.new(Table[math.random(1, 2)], Table[math.random(1, 2)], Table[math.random(1, 2)])
  1507. local pos = CFrame.new(To,From) * CFrame.new(0,0,magnitude/Number).p + Offset
  1508.  
  1509. lightning.CFrame = CFrame.new(To,pos) * CFrame.new(0,0,magnitude/Number/2)
  1510.  
  1511. if Number == i then
  1512. local magnitude2 = (To-From).magnitude
  1513. lightning.Size = Vector3.new(2,2,magnitude2)
  1514. lightning.CFrame = CFrame.new(To, From) * CFrame.new(0,0,-magnitude2/2)
  1515. else
  1516. lightning.CFrame = CFrame.new(To, pos) * CFrame.new(0,0,magnitude/Number/2)
  1517. end
  1518. tweenservice:Create(lightning,TweenInfo.new(Time),{Size=Vector3.new(0,0,lightning.Size.Z),Transparency=transparency}):Play()
  1519. To = lightning.CFrame * CFrame.new(0,0,magnitude/Number/2).p
  1520. debris:AddItem(lightning,3)
  1521. end
  1522. end
  1523. Services = {"RunService","GuiService","Stats","SoundService","LogService","ContentProvider","KeyframeSequenceProvider","Chat","MarketplaceService","Players","PointsService","AdService","NotificationService","ReplicatedFirst","HttpRbxApiService","TweenService","TextService","StarterPlayer","StarterPack","StarterGui","LocalizationService","PolicyService","TeleportService","JointsService","CollectionService","PhysicsService","BadgeService","Geometry","ReplicatedStorage","InsertService","GamePassService","Debris","TimerService","CookiesService","UserInputService","KeyboardService","MouseService","VRService","ContextActionService","ScriptService","AssetService","TouchInputService","BrowserService","AnalyticsService","ScriptContext","Selection","HttpService","MeshContentProvider","Lighting","SolidModelContentProvider","GamepadService","ControllerService","RuntimeScriptService","HapticService","ChangeHistoryService","Visit","GuidRegistryService","PermissionsService","Teams","ReplicatedStorage","TestService","SocialService","MemStorageService","GroupService","PathfindingService","VirtualUser"}
  1524.  
  1525. timer = 0
  1526. function swordattack()
  1527. attacking = true
  1528. char.HumanoidRootPart.Anchored = true
  1529. for i= 1,10 do
  1530. wait()
  1531. Torso.Neck.C0 = Torso.Neck.C0:Lerp(v362 * CFrame.Angles(-0.2, 0, 0), 0.2)
  1532.  
  1533. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(3,0.5,0.5) * CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(0)), 0.5)
  1534. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-2.8,2,0) * CFrame.Angles(math.rad(-80),math.rad(50),math.rad(0)), 0.2)
  1535. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(-20), math.rad(30), math.rad(0)),.2)
  1536.  
  1537. sword1.C0 = sword1.C0:lerp(CFrame.new(0, -8, 5.6)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)),0.2)--*CFrame.Angles(0, math.rad(180), 0) 0.15, -0.1
  1538.  
  1539. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-1, 3.7, 0.2) * CFrame.Angles(math.rad(-5), math.rad(5), math.rad(0)), 0.2)
  1540. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1, 3.7, 0.7) * CFrame.Angles(math.rad(-5), math.rad(-10), math.rad(0)), 0.2)
  1541.  
  1542. end
  1543. coroutine.resume(coroutine.create(function()
  1544. print("works")
  1545. wait()
  1546. repeat
  1547. Funcs.Serv("RunService").Heartbeat:Wait()
  1548. timer = timer + 1
  1549. until timer >= 10
  1550. local Hitbox = Instance.new("Part")
  1551. Hitbox.Shape = Enum.PartType.Ball
  1552. Hitbox.CastShadow = false
  1553. Hitbox.Anchored = true
  1554. Hitbox.Name = "eeeeeeeee"
  1555. Hitbox.CanCollide = false
  1556. Hitbox.Material = Enum.Material.ForceField
  1557. Hitbox.Size = Vector3.new(9,9,9)*S
  1558. Hitbox.CFrame = Torso.CFrame*CFrame.new(0,3,-6*S)
  1559. Hitbox.Parent = workspace
  1560. game:GetService'TweenService':Create(Hitbox, TweenInfo.new(2,Enum.EasingStyle.Quint,Enum.EasingDirection.Out), {Transparency = 1}):Play();
  1561. for i, v in pairs(workspace:GetChildren()) do
  1562. if v:IsA("Model") and v ~= char then
  1563. for i, part in pairs(v:GetChildren()) do
  1564. if part:IsA("Part") or part:IsA("BasePart") or part:IsA("Model") or part:IsA("MeshPart") then
  1565. wait()
  1566. if(Hitbox.Position - part.Position).Magnitude < 12 then
  1567. if part.Parent then
  1568. local SoundPart = Instance.new("Part")
  1569. SoundPart.CFrame = part.CFrame
  1570. local DeathSound = Instance.new("Sound")
  1571. DeathSound.SoundId = "rbxassetid://10209303"
  1572. DeathSound.Volume = 10
  1573. DeathSound.PlayOnRemove = true
  1574. DeathSound.Playing = true
  1575. DeathSound.Parent = SoundPart
  1576. SoundPart.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1577. SoundPart:Destroy()
  1578. Kill(part.Parent)
  1579.  
  1580. else if part then
  1581. local SoundPart = Instance.new("Part")
  1582. SoundPart.CFrame = part.CFrame
  1583. local DeathSound = Instance.new("Sound")
  1584. DeathSound.SoundId = "rbxassetid://10209303"
  1585. DeathSound.Volume = 10
  1586. DeathSound.PlayOnRemove = true
  1587. DeathSound.Playing = true
  1588. DeathSound.Parent = SoundPart
  1589. SoundPart.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1590. SoundPart:Destroy()
  1591. Kill(part)
  1592.  
  1593. end
  1594. end
  1595. end
  1596. end
  1597. end
  1598. end
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606. end
  1607. wait(1)
  1608. Hitbox:Destroy()
  1609.  
  1610. end))
  1611. timer = 0
  1612. attacking = false
  1613.  
  1614. char.HumanoidRootPart.Anchored = false
  1615.  
  1616. end
  1617. function ShootEffect(cfram,color)
  1618. for i=1,5 do
  1619. local lol = Instance.new("Part",char)
  1620. lol.CanCollide = false
  1621. lol.Anchored = true
  1622. lol.CFrame = cfram
  1623. lol.Size = Vector3.new(0,0,0)
  1624. lol.Color = color
  1625. lol.Orientation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  1626.  
  1627. local gaming = Instance.new("SpecialMesh",lol)
  1628. gaming.MeshId = "rbxassetid://662586858"
  1629. gaming.Scale = Vector3.new(0,0,0)
  1630.  
  1631. debris:AddItem(lol,5)
  1632.  
  1633. tweenservice:Create(lol,TweenInfo.new(1.1),{Transparency=1,Orientation=Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))}):Play()
  1634. tweenservice:Create(gaming,TweenInfo.new(1,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Scale=Vector3.new(.1,.001,.1)}):Play()
  1635. end
  1636. end
  1637.  
  1638. local mid = script.Parent.MegaGunnModel.Hole2
  1639.  
  1640. remote.OnServerEvent:Connect(function(player,FromP,ToP)
  1641. if not gunmode then
  1642. return
  1643. end
  1644. if imortalmode then
  1645. swordattack()
  1646. return
  1647. end
  1648. attacking = true
  1649. char.HumanoidRootPart.Anchored = true
  1650.  
  1651.  
  1652. for i=1,30 do
  1653. wait()
  1654. Neck.C0 = Neck.C0:lerp(CFrame.new(0, 0.55, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90)),.2)
  1655.  
  1656. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.7,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1657. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,1.2,0.5) * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(0)), 0.2)
  1658. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)),.2)
  1659. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.2,1, 0.3) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-4)), 0.2)
  1660. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.2, 1, 0.3) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(6)), 0.2)
  1661. end
  1662.  
  1663.  
  1664. local shoot1 = Instance.new("Sound", mid)
  1665. shoot1.SoundId = "rbxassetid://642890855"
  1666. shoot1.Volume = 10
  1667. shoot1.PlaybackSpeed = .45
  1668. shoot1:Play()
  1669.  
  1670. debris:AddItem(shoot1,5)
  1671. local Dist = (FromP-ToP.Position).magnitude
  1672. if Dist > 2048 then Dist = 2048 end
  1673. local Part,Position,Normal = CastProperRay(FromP,(ToP.Position-FromP).unit*1000,Dist,{workspace:FindFirstChildOfClass("Terrain"),char})
  1674. if Dist < 50 then
  1675. coroutine.wrap(function()
  1676. for i=1,5 do
  1677. Lightning(FromP,ToP.Position,4,1,Color3.fromHSV((tick()%5)/5,1,1),1,Vector3.new(0.5,3,0),1,false)
  1678. end
  1679. end)()
  1680. else
  1681. coroutine.wrap(function()
  1682. for i=1,5 do
  1683. Lightning(FromP,ToP.Position,10,2,Color3.fromHSV((tick()%5)/5,1,1),1,Vector3.new(0.5,3,0),1,false)
  1684. end
  1685. end)()
  1686. end
  1687.  
  1688. ShootEffect(script.Parent.MegaGunnModel.Hole2.CFrame,Color3.fromHSV((tick()%5)/5,1,1))
  1689. ShootEffect(script.Parent.MegaGunnModel.Hole2.CFrame,Color3.fromRGB(255,255,255))
  1690.  
  1691. local StartSquare = Instance.new("Part",char)
  1692. StartSquare.Color = Color3.fromHSV((tick()%5)/5,1,1)
  1693. StartSquare.CanCollide = false
  1694. StartSquare.Anchored = true
  1695. StartSquare.CFrame = mid.CFrame
  1696. StartSquare.Size = Vector3.new(0,0,0)
  1697. StartSquare.Material = Enum.Material.Neon
  1698.  
  1699. local EndSquare = Instance.new("Part",char)
  1700. EndSquare.Color = StartSquare.Color
  1701. EndSquare.CanCollide = false
  1702. EndSquare.Anchored = true
  1703. EndSquare.CFrame = ToP
  1704. EndSquare.Size = Vector3.new(0,0,0)
  1705. EndSquare.Material = Enum.Material.Neon
  1706.  
  1707. tweenservice:Create(StartSquare,TweenInfo.new(.7),{Size=Vector3.new(2,2,2),Transparency=1,Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1708. tweenservice:Create(EndSquare,TweenInfo.new(.7),{Size=Vector3.new(2,2,2),Transparency=1,Orientation=Vector3.new(MRANDOM(-360,360),MRANDOM(-360,360),MRANDOM(-360,360))}):Play()
  1709. ShootEffect(EndSquare.CFrame,Color3.fromHSV((tick()%5)/5,1,1))
  1710. ShootEffect(EndSquare.CFrame,Color3.fromRGB(255,255,255))
  1711. debris:AddItem(StartSquare,1)
  1712. debris:AddItem(EndSquare,1)
  1713.  
  1714. if Part then
  1715. if Part.Parent.ClassName == "Model" then
  1716. if Part.Parent:FindFirstChildOfClass("Humanoid") then
  1717. Kill(Part.Parent)
  1718. end
  1719. elseif Part.Parent.Parent.ClassName == "Model" then
  1720. if Part.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1721. Kill(Part.Parent.Parent)
  1722. end
  1723. end
  1724. end
  1725. wait(1)
  1726. attacking = false
  1727. char.HumanoidRootPart.Anchored = false
  1728. end)
  1729. function movetosafe()
  1730. Root.Position = safelocation.Position
  1731. end
  1732.  
  1733. if wasinimortal == true then
  1734. imortality2()
  1735. else
  1736. if savsong.Value == 0 then
  1737. music2()
  1738.  
  1739. else if savsong.Value ~= 0 then
  1740. music()
  1741. end
  1742. end
  1743.  
  1744. end
  1745. if hadhighlightson then
  1746. highlights()
  1747.  
  1748. else
  1749.  
  1750. end
  1751. char.Destroying:Connect(resetplayer)
  1752. LeftArm.Destroying:Connect(resetplayer)
  1753. LeftLeg.Destroying:Connect(resetplayer)
  1754. RightArm.Destroying:Connect(resetplayer)
  1755. RightLeg.Destroying:Connect(resetplayer)
  1756. limbs = false
  1757. insideplayer = false
  1758. function regencube()
  1759. cubee = Instance.new("Part")
  1760. cubee.Parent = char
  1761. cubee.Name = "Barrier"
  1762. cubee.Transparency = 1
  1763. cubee.Position = Torso.Position
  1764. cubee.BrickColor = BrickColor.new("Really red")
  1765. cubee.CanCollide = false
  1766. cubee.CanTouch = false
  1767. cubee.Anchored = true
  1768. cubee.Size = Vector3.new(12,12,12)
  1769. cubee.Massless = true
  1770. cubee.CastShadow = false
  1771. end
  1772. regencube()
  1773. function Funcs.KillPart(Instance,Instant)
  1774. coroutine.resume(coroutine.create(function()
  1775. if not table.find(KilledParts,Instance) then
  1776. table.insert(KilledParts,Instance)
  1777. if not Instant then
  1778. local CFrameTween = Funcs.Serv("TweenService"):Create(Instance,TweenInfo.new(2,Enum.EasingStyle.Circular,Enum.EasingDirection.Out),{CFrame = Instance.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))})
  1779. Instance.Anchored = true
  1780. local KeepProperties = Instance.Changed:Connect(function(Change)
  1781. if not Instance.Anchored then
  1782. Instance.Anchored = true
  1783. end
  1784. end)
  1785. CFrameTween:Play()
  1786. CFrameTween.Completed:Wait()
  1787. KeepProperties:Disconnect()
  1788. end
  1789. if Instance:IsDescendantOf(game.Workspace) then
  1790. Instance.CanCollide = false
  1791. Instance.Anchored = true
  1792. Instance.LocalTransparencyModifier = 1
  1793. local KeepProperties = Instance.Changed:Connect(function(Change)
  1794. local Props = {Anchored = true,LocalTransparencyModifier = 1}
  1795. for i,v in pairs(Props) do
  1796. if Instance[i] ~= v then
  1797. Instance[i] = v
  1798. end
  1799. end
  1800. end)
  1801. local RemovedConnection
  1802. RemovedConnection = Instance.AncestryChanged:Connect(function()
  1803. if not Instance:IsDescendantOf(game.Workspace) then
  1804. KeepProperties:Disconnect()
  1805. table.remove(KilledParts,table.find(KilledParts,Instance))
  1806. RemovedConnection:Disconnect()
  1807. end
  1808. end)
  1809. else
  1810. table.remove(KilledParts,table.find(KilledParts,Instance))
  1811. end
  1812. end
  1813. end))
  1814. end
  1815. game:GetService("RunService").Heartbeat:connect(function()
  1816. while true do
  1817. wait()
  1818. cubee.Position = Torso.Position
  1819. pos1 = cubee.Position - (cubee.Size /2)
  1820. pos2 = cubee.Position + (cubee.Size /2)
  1821. regioncube = Region3.new(pos1,pos2)
  1822. end
  1823. end)
  1824. forcefield = coroutine.wrap(function()
  1825. game:GetService("RunService").Heartbeat:connect(function()
  1826. wait()
  1827. if imortalmode and enabledbarrier then
  1828.  
  1829. local ignore = {plrr.Character,cubee}
  1830. local partsinregioncube = workspace:FindPartsInRegion3WithIgnoreList(regioncube,ignore, 1000)
  1831. for i, part in pairs(partsinregioncube) do
  1832.  
  1833. if part ~= nil and part.Size.Magnitude <=512 or not part.Name == "Base" or not part.Name == "Baseplate" and not part.Parent:FindFirstChild("Humanoid") and not part.Parent then
  1834.  
  1835. local DeathSound = Instance.new("Sound")
  1836. DeathSound.SoundId = "rbxassetid://10209303"
  1837. DeathSound.Volume = 10
  1838. DeathSound.PlayOnRemove = true
  1839. DeathSound.Playing = true
  1840. DeathSound.Parent = part
  1841. DeathSound:Play()
  1842. Funcs.KillPart(part)
  1843. coroutine.wrap(function()
  1844. wait(1)
  1845. part:Destroy()
  1846.  
  1847. end)()
  1848. return
  1849.  
  1850. else if part ~= nil and part.Size.Magnitude <=512 or not part.Name == "Base" or not part.Name == "Baseplate" and not part.Parent:FindFirstChild("Humanoid") and part.Parent then
  1851.  
  1852. local DeathSound = Instance.new("Sound")
  1853. DeathSound.SoundId = "rbxassetid://10209303"
  1854. DeathSound.Volume = 10
  1855. DeathSound.PlayOnRemove = true
  1856. DeathSound.Playing = true
  1857. DeathSound.Parent = part
  1858. DeathSound:Play()
  1859. Funcs.KillPart(part.Parent)
  1860. coroutine.wrap(function()
  1861. wait(1)
  1862. part.Parent:Destroy()
  1863.  
  1864. end)()
  1865. return
  1866. end
  1867. end
  1868. end
  1869. end
  1870. end)
  1871. end)
  1872. forcefield()
  1873. Camera = workspace.CurrentCamera
  1874. local LookVector = Camera.CFrame.LookVector
  1875. moving = coroutine.wrap(function()
  1876. local mouse = game.Players.LocalPlayer:GetMouse()
  1877. while fullyloaded do
  1878. wait()
  1879. if not movement.A and not movement.D and not movement.S and not movement.W then
  1880. position = "Idle"
  1881. else
  1882. position = "Walking"
  1883. end
  1884. if not movement.A and not movement.D and not movement.S and not movement.W and position == "Idle" then
  1885. Root.Anchored = true
  1886. wait()
  1887. Root.CFrame = Root.CFrame + Vector3.new(0,0,0)
  1888. Root.CFrame = CFrame.new(Root.CFrame.Position,Vector3.new(Root.CFrame.X+LookVector.X,Root.CFrame.Y,Root.CFrame.Z+LookVector.Z))
  1889. Root.CFrame = CFrame.lookAt(Root.Position,mouse.Hit.Position)
  1890. else if movement.A then
  1891. wait()
  1892. Root.Anchored = true
  1893. Root.CFrame = Root.CFrame + Vector3.new(-1,0,0)
  1894. Root.CFrame = CFrame.new(Root.CFrame.Position,Vector3.new(Root.CFrame.X+LookVector.X,Root.CFrame.Y,Root.CFrame.Z+LookVector.Z))
  1895. Root.CFrame = CFrame.lookAt(Root.Position,mouse.Hit.Position)
  1896. else if movement.W then
  1897. wait()
  1898. Root.Anchored = true
  1899. Root.CFrame = Root.CFrame + Vector3.new(0,0,-1)
  1900. Root.CFrame = CFrame.new(Root.CFrame.Position,Vector3.new(Root.CFrame.X+LookVector.X,Root.CFrame.Y,Root.CFrame.Z+LookVector.Z))
  1901. Root.CFrame = CFrame.lookAt(Root.Position,mouse.Hit.Position)
  1902. else if movement.S then
  1903. wait()
  1904. Root.CFrame = Root.CFrame + Vector3.new(0,0,1)
  1905. Root.Anchored = true
  1906. Root.CFrame = CFrame.new(Root.CFrame.Position,Vector3.new(Root.CFrame.X+LookVector.X,Root.CFrame.Y,Root.CFrame.Z+LookVector.Z))
  1907. Root.CFrame = CFrame.lookAt(Root.Position,mouse.Hit.Position)
  1908. else if movement.D then
  1909. wait()
  1910. Root.CFrame = Root.CFrame + Vector3.new(1,0,0)
  1911. Root.Anchored = true
  1912. Root.CFrame = CFrame.new(Root.CFrame.Position,Vector3.new(Root.CFrame.X+LookVector.X,Root.CFrame.Y,Root.CFrame.Z+LookVector.Z))
  1913. Root.CFrame = CFrame.lookAt(Root.Position,mouse.Hit.Position)
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end
  1919. end
  1920. end)
  1921. loopy = coroutine.wrap(function()
  1922. while true do
  1923.  
  1924. wait()
  1925. char3= game.ReplicatedStorage
  1926. local Cdescendants = char3:GetDescendants()
  1927. for _, LCdescendant in pairs(Cdescendants) do
  1928. if LCdescendant:IsA("Model") and LCdescendant.Name == script.Parent.owner.Value then
  1929. LCdescendant.savedsong.Value = script.Parent.savedsong.Value
  1930.  
  1931. if imortalmode == true then
  1932. LCdescendant.inimortal.Value = true
  1933. else if imortalmode == false then
  1934. LCdescendant.inimortal.Value = false
  1935. end
  1936. end
  1937. if enabledhighlights == true then
  1938. LCdescendant.hadhighlights.Value = true
  1939. else if enabledhighlights == false then
  1940. LCdescendant.hadhighlights.Value = false
  1941. end
  1942.  
  1943. end
  1944. end
  1945. end
  1946.  
  1947. end
  1948. end)
  1949. loopy()
  1950. plrr.Character.ChildRemoved:Connect(function()
  1951. resetplayer()
  1952. end)
  1953. script.Parent.characterchecker.owner.Value = plrr.Name
  1954. script.Parent.characterchecker.Disabled = true
  1955.  
  1956. fullyloaded = true
  1957. moving()
  1958. --DONT PUT ANY SCRIPTS BELOW THIS CAUSE THEY WONT RUN BECAUSE OF THE WHILE LOOP!!!--
  1959.  
  1960. --------------------
  1961. --~End Of Script~---
  1962. end))
  1963. Script20.Disabled = true
  1964. LocalScript21.Name = "mousthingy"
  1965. LocalScript21.Parent = Script20
  1966. table.insert(cors,sandbox(LocalScript21,function()
  1967. local Player = game:GetService("Players").LocalPlayer
  1968. local Character = Player.Character
  1969. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1970. local cam = workspace.CurrentCamera
  1971. cam.CameraType = "Custom"
  1972. cam.CameraSubject = Humanoid
  1973.  
  1974. local Char = Player.Character
  1975. local Event = Char:WaitForChild("UserInput_Event")
  1976.  
  1977. local UIS = game:GetService("UserInputService")
  1978.  
  1979. local input = function(io,a)
  1980. if a then return end
  1981. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  1982. Event:FireServer(io)
  1983. end
  1984. UIS.InputBegan:Connect(input)
  1985. UIS.InputEnded:Connect(input)
  1986. local Changed = false
  1987. local Mouse = Player:GetMouse()
  1988. local h,t = Mouse.Hit,Mouse.Target
  1989. while wait(1/30) do
  1990. if h~=Mouse.Hit or t~=Mouse.Target then
  1991. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  1992. h,t=Mouse.Hit,Mouse.Target
  1993. end
  1994. end
  1995. end))
  1996. LocalScript22.Name = "mouse"
  1997. LocalScript22.Parent = Script20
  1998. table.insert(cors,sandbox(LocalScript22,function()
  1999. local plr = game.Players.LocalPlayer
  2000.  
  2001. local mouse = plr:GetMouse()
  2002. local ClickConnection
  2003. local uis = game:GetService("UserInputService")
  2004. MousePos = mouse.Hit.Position
  2005.  
  2006. function onKeyPress(inputObject, gameProcessedEvent)
  2007. if inputObject.KeyCode == Enum.KeyCode.M then
  2008. script.reset:FireServer()
  2009. end
  2010. end
  2011. local Mouse = game.Players.LocalPlayer:GetMouse()
  2012.  
  2013. Mouse.Button1Down:connect(function()
  2014. local FromP = script.Parent.Parent.MegaGunnModel.Hole2.CFrame.Position
  2015. local ToP = mouse.Hit
  2016. script.shoot:FireServer(FromP, ToP)
  2017. end)
  2018. function onclick(inputObject, gameProcessedEvent)
  2019. ClickConnection = uis.InputBegan:Connect(function(input,istyping)
  2020.  
  2021.  
  2022. if input.UserInputType == Enum.UserInputType.MouseWheel then
  2023. local FromP = script.Parent.Parent.MegaGunnModel.Hole2.CFrame.Position
  2024. local ToP = mouse.Hit
  2025. script.shoot:FireServer(FromP, ToP)
  2026. end
  2027. end)
  2028. end
  2029. function onKeyPress2(inputObject, gameProcessedEvent)
  2030. if inputObject.KeyCode == Enum.KeyCode.Minus then
  2031. script.AD:FireServer()
  2032. end
  2033. end
  2034. function onKeyPress3(inputObject, gameProcessedEvent)
  2035. if inputObject.KeyCode == Enum.KeyCode.Q then
  2036. script.gun:FireServer()
  2037. end
  2038. end
  2039. function onKeyPress4(inputObject, gameProcessedEvent)
  2040. if inputObject.KeyCode == Enum.KeyCode.E then
  2041. script.im:FireServer()
  2042. end
  2043. end
  2044. function onKeyPresshighlight(inputObject, gameProcessedEvent)
  2045. if inputObject.KeyCode == Enum.KeyCode.Equals then
  2046. script.highlight:FireServer()
  2047. end
  2048. end
  2049. function onKeyPressfly(inputObject, gameProcessedEvent)
  2050. if inputObject.KeyCode == Enum.KeyCode.L then
  2051. script.fly:FireServer()
  2052. end
  2053. end
  2054. function onKeyPressbarrier(inputObject, gameProcessedEvent)
  2055. if inputObject.KeyCode == Enum.KeyCode.Q then
  2056. script.barrier:FireServer()
  2057. end
  2058. end
  2059. function onKeyPresstp(inputObject, gameProcessedEvent)
  2060. if inputObject.KeyCode == Enum.KeyCode.Z then
  2061. local v3 = Vector3.new
  2062. local ToP = mouse.Hit.p
  2063. script.TP:FireServer(ToP)
  2064. end
  2065. end
  2066. game:GetService("UserInputService").InputBegan:connect(onclick)
  2067. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2068. game:GetService("UserInputService").InputBegan:connect(onKeyPress2)
  2069. game:GetService("UserInputService").InputBegan:connect(onKeyPress3)
  2070. game:GetService("UserInputService").InputBegan:connect(onKeyPress4)
  2071. game:GetService("UserInputService").InputBegan:connect(onKeyPresshighlight)
  2072. game:GetService("UserInputService").InputBegan:connect(onKeyPressfly)
  2073. game:GetService("UserInputService").InputBegan:connect(onKeyPresstp)
  2074. game:GetService("UserInputService").InputBegan:connect(onKeyPressbarrier)
  2075. end))
  2076. RemoteEvent23.Name = "reset"
  2077. RemoteEvent23.Parent = LocalScript22
  2078. RemoteEvent24.Name = "cupmode"
  2079. RemoteEvent24.Parent = LocalScript22
  2080. RemoteEvent25.Name = "shoot"
  2081. RemoteEvent25.Parent = LocalScript22
  2082. RemoteEvent26.Name = "gun"
  2083. RemoteEvent26.Parent = LocalScript22
  2084. RemoteEvent27.Name = "im"
  2085. RemoteEvent27.Parent = LocalScript22
  2086. RemoteEvent28.Name = "AD"
  2087. RemoteEvent28.Parent = LocalScript22
  2088. RemoteEvent29.Name = "highlight"
  2089. RemoteEvent29.Parent = LocalScript22
  2090. RemoteEvent30.Name = "fly"
  2091. RemoteEvent30.Parent = LocalScript22
  2092. RemoteEvent31.Name = "TP"
  2093. RemoteEvent31.Parent = LocalScript22
  2094. RemoteEvent32.Name = "barrier"
  2095. RemoteEvent32.Parent = LocalScript22
  2096. LocalScript33.Name = "cam"
  2097. LocalScript33.Parent = Script20
  2098. table.insert(cors,sandbox(LocalScript33,function()
  2099. game.Workspace.CurrentCamera.CFrame = script.Parent.Parent.Head.CFrame
  2100. game.Workspace.CurrentCamera.CameraSubject = script.Parent.Parent.Head
  2101. end))
  2102. Folder34.Name = "MegaGunnModel"
  2103. Folder34.Parent = Model3
  2104. MeshPart35.Name = "Base"
  2105. MeshPart35.Parent = Folder34
  2106. MeshPart35.CFrame = CFrame.new(-0.279205412, 9.09674644, -0.446873546, 0.518820941, -0.854365408, 0.0296030212, 0.854781508, 0.517926812, -0.033095438, 0.0129432436, 0.0424745753, 0.999013245)
  2107. MeshPart35.Orientation = Vector3.new(1.899999976158142, 1.7000000476837158, 58.790000915527344)
  2108. MeshPart35.Position = Vector3.new(-0.27920541167259216, 9.096746444702148, -0.4468735456466675)
  2109. MeshPart35.Rotation = Vector3.new(1.899999976158142, 1.7000000476837158, 58.72999954223633)
  2110. MeshPart35.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2111. MeshPart35.Size = Vector3.new(2.555556297302246, 2.352299213409424, 0.402515172958374)
  2112. MeshPart35.BrickColor = BrickColor.new("Bright yellow")
  2113. MeshPart35.CanCollide = false
  2114. MeshPart35.Locked = true
  2115. MeshPart35.Material = Enum.Material.Glass
  2116. MeshPart35.brickColor = BrickColor.new("Bright yellow")
  2117. Weld36.Parent = MeshPart35
  2118. Weld36.C1 = CFrame.new(0.661526799, 0.155648738, 0, 1.12379617e-08, -0.707106829, 0.707106829, -7.30561709e-08, 0.707106829, 0.707106829, -1, -5.96049574e-08, -4.3712074e-08)
  2119. Weld36.Part0 = Part57
  2120. Weld36.Part1 = MeshPart35
  2121. Weld36.part1 = MeshPart35
  2122. UnionOperation37.Name = "NeonParts"
  2123. UnionOperation37.Parent = Folder34
  2124. UnionOperation37.CFrame = CFrame.new(-0.351243645, 9.31814289, -0.430848777, 0.639319539, 0.731414557, -0.237265721, 0.12564978, 0.205043882, 0.970651269, 0.758603215, -0.650372744, 0.039186269)
  2125. UnionOperation37.Orientation = Vector3.new(-76.08000183105469, -80.62000274658203, 31.5)
  2126. UnionOperation37.Position = Vector3.new(-0.35124364495277405, 9.318142890930176, -0.43084877729415894)
  2127. UnionOperation37.Rotation = Vector3.new(-87.69000244140625, -13.729999542236328, -48.84000015258789)
  2128. UnionOperation37.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2129. UnionOperation37.Size = Vector3.new(0.5484849810600281, 0.6068845987319946, 2.446664333343506)
  2130. UnionOperation37.BrickColor = BrickColor.new("Br. yellowish green")
  2131. UnionOperation37.CanCollide = false
  2132. UnionOperation37.Locked = true
  2133. UnionOperation37.Material = Enum.Material.Neon
  2134. UnionOperation37.brickColor = BrickColor.new("Br. yellowish green")
  2135. UnionOperation37.UsePartColor = true
  2136. Weld38.Parent = UnionOperation37
  2137. Weld38.C1 = CFrame.new(0.233178303, 0.294090867, 0.345209897, -0.772622705, -0.634865463, -1.78418952e-13, 0.634865463, -0.772622705, 1.46607159e-13, -2.30926389e-13, -1.37642127e-20, 1)
  2138. Weld38.Part0 = Part57
  2139. Weld38.Part1 = UnionOperation37
  2140. Weld38.part1 = UnionOperation37
  2141. Part39.Name = "Hole"
  2142. Part39.Parent = Folder34
  2143. Part39.CFrame = CFrame.new(-0.260959148, 8.75330162, -0.458487839, -0.237265721, -0.970989347, 0.0296029635, 0.970651269, -0.238192275, -0.0330954529, 0.0391863137, 0.0208817441, 0.999013245)
  2144. Part39.Orientation = Vector3.new(1.899999976158142, 1.7000000476837158, 103.79000091552734)
  2145. Part39.Position = Vector3.new(-0.2609591484069824, 8.753301620483398, -0.4584878385066986)
  2146. Part39.Rotation = Vector3.new(1.899999976158142, 1.7000000476837158, 103.7300033569336)
  2147. Part39.Transparency = 1
  2148. Part39.Size = Vector3.new(0.05503062903881073, 0.05503062903881073, 0.05503062903881073)
  2149. Part39.BottomSurface = Enum.SurfaceType.Smooth
  2150. Part39.CanCollide = false
  2151. Part39.Locked = true
  2152. Part39.TopSurface = Enum.SurfaceType.Smooth
  2153. Weld40.Parent = Part39
  2154. Weld40.C1 = CFrame.new(0.915981472, -0.421556473, -0.000303713547, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  2155. Weld40.Part0 = Part57
  2156. Weld40.Part1 = Part39
  2157. Weld40.part1 = Part39
  2158. Part41.Name = "Hole2"
  2159. Part41.Parent = Folder34
  2160. Part41.CFrame = CFrame.new(0.116198041, 7.21035624, -0.520778298, -0.237265721, -0.970989347, 0.0296029635, 0.970651269, -0.238192275, -0.0330954529, 0.0391863137, 0.0208817441, 0.999013245)
  2161. Part41.Orientation = Vector3.new(1.899999976158142, 1.7000000476837158, 103.79000091552734)
  2162. Part41.Position = Vector3.new(0.11619804054498672, 7.21035623550415, -0.5207782983779907)
  2163. Part41.Rotation = Vector3.new(1.899999976158142, 1.7000000476837158, 103.7300033569336)
  2164. Part41.Transparency = 1
  2165. Part41.Size = Vector3.new(0.05503062903881073, 0.05503062903881073, 0.05503062903881073)
  2166. Part41.BottomSurface = Enum.SurfaceType.Smooth
  2167. Part41.CanCollide = false
  2168. Part41.Locked = true
  2169. Part41.TopSurface = Enum.SurfaceType.Smooth
  2170. Weld42.Parent = Part41
  2171. Weld42.C1 = CFrame.new(2.50557971, -0.421556473, -0.000303713547, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  2172. Weld42.Part0 = Part57
  2173. Weld42.Part1 = Part41
  2174. Weld42.part1 = Part41
  2175. UnionOperation43.Name = "GunAdditions"
  2176. UnionOperation43.Parent = Folder34
  2177. UnionOperation43.CFrame = CFrame.new(-0.418909609, 9.89786243, -0.415812105, 0.72227478, -0.690966547, 0.0295962021, 0.691599667, 0.721518278, -0.0331070684, 0.00152156316, 0.0443809405, 0.999013066)
  2178. UnionOperation43.Orientation = Vector3.new(1.899999976158142, 1.7000000476837158, 43.790000915527344)
  2179. UnionOperation43.Position = Vector3.new(-0.41890960931777954, 9.897862434387207, -0.41581210494041443)
  2180. UnionOperation43.Rotation = Vector3.new(1.899999976158142, 1.7000000476837158, 43.72999954223633)
  2181. UnionOperation43.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  2182. UnionOperation43.Size = Vector3.new(1.1306397914886475, 1.3778330087661743, 0.3315350413322449)
  2183. UnionOperation43.BrickColor = BrickColor.new("Bright blue")
  2184. UnionOperation43.CanCollide = false
  2185. UnionOperation43.Locked = true
  2186. UnionOperation43.Material = Enum.Material.Glass
  2187. UnionOperation43.brickColor = BrickColor.new("Bright blue")
  2188. UnionOperation43.UsePartColor = true
  2189. Weld44.Parent = UnionOperation43
  2190. Weld44.C1 = CFrame.new(0.145502299, -0.354367316, -0.000382647675, -1.29380087e-05, -0.86602962, 0.499992669, -3.75511445e-06, 0.499992639, 0.86602962, -1, 9.32717012e-06, -9.7209504e-06)
  2191. Weld44.Part0 = Part57
  2192. Weld44.Part1 = UnionOperation43
  2193. Weld44.part1 = UnionOperation43
  2194. Folder45.Name = "Beams"
  2195. Folder45.Parent = Folder34
  2196. Folder46.Name = "A"
  2197. Folder46.Parent = Folder45
  2198. Beam47.Parent = Folder46
  2199. Beam47.Enabled = false
  2200. Beam47.LightEmission = 1
  2201. Beam47.LightInfluence = 1
  2202. Beam47.Texture = "rbxassetid://6091474388"
  2203. Beam47.TextureSpeed = 500
  2204. Beam47.Transparency = NumberSequence.new(0,0)
  2205. Beam47.Width0 = 3.299999952316284
  2206. Beam47.Width1 = 3.299999952316284
  2207. Beam48.Parent = Folder46
  2208. Beam48.Enabled = false
  2209. Beam48.LightEmission = 1
  2210. Beam48.LightInfluence = 1
  2211. Beam48.Texture = "rbxassetid://6091474388"
  2212. Beam48.TextureSpeed = 500
  2213. Beam48.Transparency = NumberSequence.new(0,0)
  2214. Beam48.Width0 = 3.299999952316284
  2215. Beam48.Width1 = 3.299999952316284
  2216. Beam49.Parent = Folder46
  2217. Beam49.Enabled = false
  2218. Beam49.LightEmission = 1
  2219. Beam49.LightInfluence = 1
  2220. Beam49.Texture = "rbxassetid://6091474388"
  2221. Beam49.TextureSpeed = 500
  2222. Beam49.Transparency = NumberSequence.new(0,0)
  2223. Beam49.Width0 = 3.299999952316284
  2224. Beam49.Width1 = 3.299999952316284
  2225. Beam50.Parent = Folder46
  2226. Beam50.Enabled = false
  2227. Beam50.LightEmission = 1
  2228. Beam50.LightInfluence = 1
  2229. Beam50.Texture = "rbxassetid://6091474388"
  2230. Beam50.TextureSpeed = 500
  2231. Beam50.Transparency = NumberSequence.new(0,0)
  2232. Beam50.Width0 = 3.299999952316284
  2233. Beam50.Width1 = 3.299999952316284
  2234. Beam51.Parent = Folder46
  2235. Beam51.Enabled = false
  2236. Beam51.LightEmission = 1
  2237. Beam51.LightInfluence = 1
  2238. Beam51.Texture = "rbxassetid://6091474388"
  2239. Beam51.TextureSpeed = 500
  2240. Beam51.Transparency = NumberSequence.new(0,0)
  2241. Beam51.Width0 = 3.299999952316284
  2242. Beam51.Width1 = 3.299999952316284
  2243. Beam52.Parent = Folder46
  2244. Beam52.Enabled = false
  2245. Beam52.LightEmission = 1
  2246. Beam52.LightInfluence = 1
  2247. Beam52.Texture = "rbxassetid://6091474388"
  2248. Beam52.TextureSpeed = 500
  2249. Beam52.Transparency = NumberSequence.new(0,0)
  2250. Beam52.Width0 = 3.299999952316284
  2251. Beam52.Width1 = 3.299999952316284
  2252. Beam53.Parent = Folder46
  2253. Beam53.Enabled = false
  2254. Beam53.LightEmission = 1
  2255. Beam53.LightInfluence = 1
  2256. Beam53.Texture = "rbxassetid://6091474388"
  2257. Beam53.TextureSpeed = 500
  2258. Beam53.Transparency = NumberSequence.new(0,0)
  2259. Beam53.Width0 = 3.299999952316284
  2260. Beam53.Width1 = 3.299999952316284
  2261. Beam54.Parent = Folder46
  2262. Beam54.Enabled = false
  2263. Beam54.LightEmission = 1
  2264. Beam54.LightInfluence = 1
  2265. Beam54.Texture = "rbxassetid://6091474388"
  2266. Beam54.TextureSpeed = 500
  2267. Beam54.Transparency = NumberSequence.new(0,0)
  2268. Beam54.Width0 = 3.299999952316284
  2269. Beam54.Width1 = 3.299999952316284
  2270. Folder55.Name = "B"
  2271. Folder55.Parent = Folder45
  2272. Beam56.Parent = Folder55
  2273. Beam56.Enabled = false
  2274. Beam56.FaceCamera = true
  2275. Beam56.LightEmission = 1
  2276. Beam56.LightInfluence = 1
  2277. Beam56.Texture = "rbxassetid://4595131819"
  2278. Beam56.TextureSpeed = 0
  2279. Beam56.Transparency = NumberSequence.new(0,0)
  2280. Beam56.Width0 = 3
  2281. Beam56.Width1 = 3
  2282. Part57.Name = "Joint"
  2283. Part57.Parent = Folder34
  2284. Part57.CFrame = CFrame.new(-0.0689723119, 9.74282169, -0.43170014, -0.0296029523, -0.970989347, -0.237265721, 0.033095412, -0.238192275, 0.970651269, -0.999013245, 0.0208817441, 0.039186269)
  2285. Part57.Orientation = Vector3.new(-76.08000183105469, -80.62000274658203, 172.08999633789062)
  2286. Part57.Position = Vector3.new(-0.06897231191396713, 9.74282169342041, -0.4317001402378082)
  2287. Part57.Rotation = Vector3.new(-87.69000244140625, -13.729999542236328, 91.75)
  2288. Part57.Transparency = 1
  2289. Part57.Size = Vector3.new(0.27515318989753723, 0.27515318989753723, 0.27515318989753723)
  2290. Part57.BottomSurface = Enum.SurfaceType.Smooth
  2291. Part57.CanCollide = false
  2292. Part57.Locked = true
  2293. Part57.TopSurface = Enum.SurfaceType.Smooth
  2294. Weld58.Parent = Part57
  2295. Weld58.C0 = CFrame.new(0.0137033863, -0.27406776, -0.0411101654, 1, -0, 0, 0, -0.291495591, 0.956567764, -0, -0.956567764, -0.291495591)
  2296. Weld58.Part0 = Part14
  2297. Weld58.Part1 = Part57
  2298. Weld58.part1 = Part57
  2299. Folder59.Name = "Song"
  2300. Folder59.Parent = Model3
  2301. StringValue60.Name = "owner"
  2302. StringValue60.Parent = Model3
  2303. BoolValue61.Name = "inimortal"
  2304. BoolValue61.Parent = Model3
  2305. MeshPart62.Name = "fakehead"
  2306. MeshPart62.Parent = Model3
  2307. MeshPart62.CFrame = CFrame.new(0, 1000000, 0, 0.666030884, 0.0231956318, -0.745565236, -0.744603097, -0.0388243273, -0.666379273, -0.0444031209, 0.998976469, -0.00858625863)
  2308. MeshPart62.Orientation = Vector3.new(41.790000915527344, -90.66000366210938, -92.9800033569336)
  2309. MeshPart62.Position = Vector3.new(0, 1000000, 0)
  2310. MeshPart62.Rotation = Vector3.new(90.73999786376953, -48.209999084472656, -1.9900000095367432)
  2311. MeshPart62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2312. MeshPart62.Size = Vector3.new(2.4000000953674316, 2.4000000953674316, 2.4000000953674316)
  2313. MeshPart62.Anchored = true
  2314. MeshPart62.BrickColor = BrickColor.new("Really black")
  2315. MeshPart62.CanCollide = false
  2316. MeshPart62.Material = Enum.Material.Slate
  2317. MeshPart62.brickColor = BrickColor.new("Really black")
  2318. BoolValue63.Name = "hadhighlights"
  2319. BoolValue63.Parent = Model3
  2320. Script64.Name = "characterchecker"
  2321. Script64.Parent = Model3
  2322. table.insert(cors,sandbox(Script64,function()
  2323. local Cdescendants = game.ServerScriptService:GetDescendants()
  2324. for _, LCdescendant in pairs(Cdescendants) do
  2325. if LCdescendant:IsA("Script") and LCdescendant.Name == "characterchecker" then
  2326. script.Disabled= true
  2327. end
  2328. end
  2329. script.Parent = game.ServerScriptService
  2330. plrname = script.owner.Value
  2331. char3= workspace
  2332. plr = false
  2333. fakechar = false
  2334. local CDdescendants = game.Players:GetDescendants()
  2335. for _, LCdescendant in pairs(CDdescendants) do
  2336. if LCdescendant.Name == plrname then
  2337.  
  2338. plr = LCdescendant
  2339. end
  2340. end
  2341. local Cdescendants = char3:GetDescendants()
  2342. for _, LCdescendant in pairs(Cdescendants) do
  2343. if LCdescendant:IsA("Model") and LCdescendant.Name == plrname then
  2344.  
  2345. character = LCdescendant
  2346. end
  2347. end
  2348. local cdescendants = game.ReplicatedStorage:GetDescendants()
  2349. for _, LCdescendant in pairs(Cdescendants) do
  2350. if LCdescendant:IsA("Model") and LCdescendant.Name == plrname then
  2351.  
  2352. fakechar = LCdescendant
  2353. end
  2354. end
  2355.  
  2356. script.Destroying:Connect(function()
  2357. end)
  2358. while true do
  2359.  
  2360. wait()
  2361. if not character or character.Parent ~= workspace or character == nil then
  2362. script:Destroy()
  2363.  
  2364.  
  2365. end
  2366. end
  2367. end))
  2368. Script64.Disabled = true
  2369. StringValue65.Name = "owner"
  2370. StringValue65.Parent = Script64
  2371. IntValue66.Name = "savedsong"
  2372. IntValue66.Parent = Model3
  2373. Part67.Name = "TorsoOutline"
  2374. Part67.Parent = Model3
  2375. Part67.CFrame = CFrame.new(0, 10, 0, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2376. Part67.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2377. Part67.Position = Vector3.new(0, 10, 0)
  2378. Part67.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2379. Part67.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2380. Part67.Transparency = 0.6000000238418579
  2381. Part67.Size = Vector3.new(4.2516560554504395, 4.489448070526123, 2.3379201889038086)
  2382. Part67.BottomSurface = Enum.SurfaceType.Smooth
  2383. Part67.BrickColor = BrickColor.new("Institutional white")
  2384. Part67.CanCollide = false
  2385. Part67.TopSurface = Enum.SurfaceType.Smooth
  2386. Part67.brickColor = BrickColor.new("Institutional white")
  2387. SpecialMesh68.Parent = Part67
  2388. SpecialMesh68.MeshId = "rbxassetid://514528255"
  2389. SpecialMesh68.Scale = Vector3.new(2.2002320289611816, 2.300840139389038, -1.2274079322814941)
  2390. SpecialMesh68.MeshType = Enum.MeshType.FileMesh
  2391. Weld69.Parent = Part67
  2392. Weld69.Part0 = Part67
  2393. Weld69.Part1 = Part7
  2394. Weld69.part1 = Part7
  2395. Part70.Name = "LeftArmOutline"
  2396. Part70.Parent = Model3
  2397. Part70.CFrame = CFrame.new(0.0121698221, 9.98639488, 0.41069597, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2398. Part70.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2399. Part70.Position = Vector3.new(0.012169822119176388, 9.986394882202148, 0.41069597005844116)
  2400. Part70.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2401. Part70.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2402. Part70.Transparency = 1
  2403. Part70.Size = Vector3.new(2.2047817707061768, 4.156983852386475, 2.1895053386688232)
  2404. Part70.BottomSurface = Enum.SurfaceType.Smooth
  2405. Part70.BrickColor = BrickColor.new("Institutional white")
  2406. Part70.CanCollide = false
  2407. Part70.TopSurface = Enum.SurfaceType.Smooth
  2408. Part70.brickColor = BrickColor.new("Institutional white")
  2409. SpecialMesh71.Parent = Part70
  2410. SpecialMesh71.MeshId = "rbxassetid://514528255"
  2411. SpecialMesh71.Scale = Vector3.new(1.15751051902771, 2.130662441253662, -1.1495448350906372)
  2412. SpecialMesh71.MeshType = Enum.MeshType.FileMesh
  2413. Weld72.Parent = Part70
  2414. Weld72.Part0 = Part70
  2415. Weld72.Part1 = Part13
  2416. Weld72.part1 = Part13
  2417. Part73.Name = "LeftLegOutline"
  2418. Part73.Parent = Model3
  2419. Part73.CFrame = CFrame.new(-0.0266821943, 9.44846153, 0.119688496, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2420. Part73.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2421. Part73.Position = Vector3.new(-0.02668219432234764, 9.448461532592773, 0.1196884959936142)
  2422. Part73.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2423. Part73.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2424. Part73.Transparency = 1
  2425. Part73.Size = Vector3.new(2.2047817707061768, 4.156983852386475, 2.1895053386688232)
  2426. Part73.BottomSurface = Enum.SurfaceType.Smooth
  2427. Part73.BrickColor = BrickColor.new("Institutional white")
  2428. Part73.CanCollide = false
  2429. Part73.TopSurface = Enum.SurfaceType.Smooth
  2430. Part73.brickColor = BrickColor.new("Institutional white")
  2431. SpecialMesh74.Parent = Part73
  2432. SpecialMesh74.MeshId = "rbxassetid://514528255"
  2433. SpecialMesh74.Scale = Vector3.new(1.15751051902771, 2.130662441253662, -1.1495448350906372)
  2434. SpecialMesh74.MeshType = Enum.MeshType.FileMesh
  2435. Weld75.Parent = Part73
  2436. Weld75.Part0 = Part73
  2437. Weld75.Part1 = Part15
  2438. Weld75.part1 = Part15
  2439. Part76.Name = "RightArmOutline"
  2440. Part76.Parent = Model3
  2441. Part76.CFrame = CFrame.new(-0.0121698221, 10.0136051, -0.41069597, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2442. Part76.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2443. Part76.Position = Vector3.new(-0.012169822119176388, 10.013605117797852, -0.41069597005844116)
  2444. Part76.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2445. Part76.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2446. Part76.Transparency = 1
  2447. Part76.Size = Vector3.new(2.2047817707061768, 4.156983852386475, 2.1895053386688232)
  2448. Part76.BottomSurface = Enum.SurfaceType.Smooth
  2449. Part76.BrickColor = BrickColor.new("Institutional white")
  2450. Part76.CanCollide = false
  2451. Part76.TopSurface = Enum.SurfaceType.Smooth
  2452. Part76.brickColor = BrickColor.new("Institutional white")
  2453. SpecialMesh77.Parent = Part76
  2454. SpecialMesh77.MeshId = "rbxassetid://514528255"
  2455. SpecialMesh77.Scale = Vector3.new(1.15751051902771, 2.130662441253662, -1.1495448350906372)
  2456. SpecialMesh77.MeshType = Enum.MeshType.FileMesh
  2457. Weld78.Parent = Part76
  2458. Weld78.Part0 = Part76
  2459. Weld78.Part1 = Part14
  2460. Weld78.part1 = Part14
  2461. Part79.Name = "RightLegOutline"
  2462. Part79.Parent = Model3
  2463. Part79.CFrame = CFrame.new(-0.0347954109, 9.45753193, -0.154108837, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2464. Part79.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2465. Part79.Position = Vector3.new(-0.03479541093111038, 9.457531929016113, -0.15410883724689484)
  2466. Part79.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2467. Part79.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2468. Part79.Transparency = 1
  2469. Part79.Size = Vector3.new(2.2047817707061768, 4.156983852386475, 2.1895053386688232)
  2470. Part79.BottomSurface = Enum.SurfaceType.Smooth
  2471. Part79.BrickColor = BrickColor.new("Institutional white")
  2472. Part79.CanCollide = false
  2473. Part79.TopSurface = Enum.SurfaceType.Smooth
  2474. Part79.brickColor = BrickColor.new("Institutional white")
  2475. SpecialMesh80.Parent = Part79
  2476. SpecialMesh80.MeshId = "rbxassetid://514528255"
  2477. SpecialMesh80.Scale = Vector3.new(1.15751051902771, 2.130662441253662, -1.1495448350906372)
  2478. SpecialMesh80.MeshType = Enum.MeshType.FileMesh
  2479. Weld81.Parent = Part79
  2480. Weld81.Part0 = Part79
  2481. Weld81.Part1 = Part16
  2482. Weld81.part1 = Part16
  2483. Part82.Name = "HeadOutline"
  2484. Part82.Parent = Model3
  2485. Part82.CFrame = CFrame.new(0, 1000000, 0, 0.666030884, 0.0231956318, -0.745565236, -0.744603097, -0.0388243273, -0.666379273, -0.0444031209, 0.998976469, -0.00858625863)
  2486. Part82.Orientation = Vector3.new(41.790000915527344, -90.66000366210938, -92.9800033569336)
  2487. Part82.Position = Vector3.new(0, 1000000, 0)
  2488. Part82.Rotation = Vector3.new(90.73999786376953, -48.209999084472656, -1.9900000095367432)
  2489. Part82.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2490. Part82.Transparency = 1
  2491. Part82.Size = Vector3.new(2.5776729583740234, 2.018209457397461, 2.731584310531616)
  2492. Part82.BrickColor = BrickColor.new("Institutional white")
  2493. Part82.CanCollide = false
  2494. Part82.Material = Enum.Material.Neon
  2495. Part82.TopSurface = Enum.SurfaceType.Smooth
  2496. Part82.brickColor = BrickColor.new("Institutional white")
  2497. Part82.FormFactor = Enum.FormFactor.Symmetric
  2498. Part82.formFactor = Enum.FormFactor.Symmetric
  2499. SpecialMesh83.Parent = Part82
  2500. SpecialMesh83.Scale = Vector3.new(-0.6700000166893005, -1.3300000429153442, -1)
  2501. Weld84.Parent = Part82
  2502. Weld84.Part0 = Part82
  2503. Weld84.Part1 = MeshPart62
  2504. Weld84.part1 = MeshPart62
  2505. MeshPart85.Name = "Horns"
  2506. MeshPart85.Parent = Model3
  2507. MeshPart85.CFrame = CFrame.new(0, 1000000, 0, -0.737370133, 0.655653775, -0.162490904, 0.672586203, 0.734918296, -0.0867317617, 0.0625514686, -0.17324248, -0.982890427)
  2508. MeshPart85.Orientation = Vector3.new(4.980000019073486, -170.61000061035156, 42.459999084472656)
  2509. MeshPart85.Position = Vector3.new(0, 1000000, 0)
  2510. MeshPart85.Rotation = Vector3.new(174.9600067138672, -9.350000381469727, -138.36000061035156)
  2511. MeshPart85.Color = Color3.new(0, 0, 0)
  2512. MeshPart85.Size = Vector3.new(2.8594400882720947, 2.876598358154297, 1.0250139236450195)
  2513. MeshPart85.Anchored = true
  2514. MeshPart85.BrickColor = BrickColor.new("Really black")
  2515. MeshPart85.CanCollide = false
  2516. MeshPart85.Locked = true
  2517. MeshPart85.Material = Enum.Material.Slate
  2518. MeshPart85.brickColor = BrickColor.new("Really black")
  2519. MeshPart86.Name = "LeftWing"
  2520. MeshPart86.Parent = Model3
  2521. MeshPart86.CFrame = CFrame.new(0, 1000000, 0, -0.80994153, -0.160403639, -0.564150095, -0.532745302, -0.201104, 0.822033644, -0.245310187, 0.966347396, 0.0774281695)
  2522. MeshPart86.Orientation = Vector3.new(-55.290000915527344, -82.19000244140625, -110.68000030517578)
  2523. MeshPart86.Position = Vector3.new(0, 1000000, 0)
  2524. MeshPart86.Rotation = Vector3.new(-84.62000274658203, -34.34000015258789, 168.8000030517578)
  2525. MeshPart86.Color = Color3.new(0, 0, 0)
  2526. MeshPart86.Transparency = 1
  2527. MeshPart86.Size = Vector3.new(4.796000003814697, 8.64799976348877, 3.8440001010894775)
  2528. MeshPart86.Anchored = true
  2529. MeshPart86.BrickColor = BrickColor.new("Really black")
  2530. MeshPart86.CanCollide = false
  2531. MeshPart86.Locked = true
  2532. MeshPart86.Material = Enum.Material.Slate
  2533. MeshPart86.brickColor = BrickColor.new("Really black")
  2534. MeshPart87.Name = "RightWing"
  2535. MeshPart87.Parent = Model3
  2536. MeshPart87.CFrame = CFrame.new(0, 1000000, 0, -0.634283483, -0.160403639, -0.756277084, -0.729125917, -0.201104, 0.654165328, -0.25702101, 0.966347396, 0.0106023848)
  2537. MeshPart87.Orientation = Vector3.new(-40.86000061035156, -89.19999694824219, -105.41999816894531)
  2538. MeshPart87.Position = Vector3.new(0, 1000000, 0)
  2539. MeshPart87.Rotation = Vector3.new(-89.06999969482422, -49.13999938964844, 165.80999755859375)
  2540. MeshPart87.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2541. MeshPart87.Transparency = 1
  2542. MeshPart87.Size = Vector3.new(4.796000003814697, 8.64799976348877, 3.8440001010894775)
  2543. MeshPart87.Anchored = true
  2544. MeshPart87.BrickColor = BrickColor.new("Really black")
  2545. MeshPart87.CanCollide = false
  2546. MeshPart87.Locked = true
  2547. MeshPart87.Material = Enum.Material.Slate
  2548. MeshPart87.brickColor = BrickColor.new("Really black")
  2549. MeshPart88.Name = "Sword"
  2550. MeshPart88.Parent = Model3
  2551. MeshPart88.CFrame = CFrame.new(0, 1000000, 0, -0.543151855, -0.13956143, 0.82795459, 0.832807064, 0.0359464884, 0.552394629, -0.106855124, 0.989560068, 0.0967031568)
  2552. MeshPart88.Orientation = Vector3.new(-33.529998779296875, 83.33999633789062, 87.52999877929688)
  2553. MeshPart88.Position = Vector3.new(0, 1000000, 0)
  2554. MeshPart88.Rotation = Vector3.new(-80.06999969482422, 55.88999938964844, 165.58999633789062)
  2555. MeshPart88.Color = Color3.new(0, 0, 0)
  2556. MeshPart88.Size = Vector3.new(2.247131824493408, 19.294023513793945, 6.08338737487793)
  2557. MeshPart88.Anchored = true
  2558. MeshPart88.BrickColor = BrickColor.new("Really black")
  2559. MeshPart88.CanCollide = false
  2560. MeshPart88.Locked = true
  2561. MeshPart88.Material = Enum.Material.Slate
  2562. MeshPart88.brickColor = BrickColor.new("Really black")
  2563. MeshPart89.Name = "visual"
  2564. MeshPart89.Parent = Model3
  2565. MeshPart89.CFrame = CFrame.new(0, 10, 0, -0.0296029523, 0.0560788363, 0.99798739, 0.033095412, 0.997934163, -0.0550939851, -0.999013245, 0.0313976482, -0.0313976929)
  2566. MeshPart89.Orientation = Vector3.new(3.1600000858306885, 91.80000305175781, 1.899999976158142)
  2567. MeshPart89.Position = Vector3.new(0, 10, 0)
  2568. MeshPart89.Rotation = Vector3.new(119.68000030517578, 86.36000061035156, -117.83000183105469)
  2569. MeshPart89.Color = Color3.new(1, 0.690196, 0)
  2570. MeshPart89.Transparency = 0.30000001192092896
  2571. MeshPart89.Size = Vector3.new(0.1233055591583252, 3.9974308013916016, 4.01323127746582)
  2572. MeshPart89.Anchored = true
  2573. MeshPart89.BrickColor = BrickColor.new("Deep orange")
  2574. MeshPart89.CanCollide = false
  2575. MeshPart89.Material = Enum.Material.Neon
  2576. MeshPart89.brickColor = BrickColor.new("Deep orange")
  2577. Weld90.Parent = MeshPart89
  2578. Weld90.Part0 = MeshPart89
  2579. Weld90.Part1 = Part18
  2580. Weld90.part1 = Part18
  2581. for i,v in pairs(mas:GetChildren()) do
  2582. v.Parent = workspace
  2583. pcall(function() v:MakeJoints() end)
  2584. end
  2585. mas:Destroy()
  2586. for i,v in pairs(cors) do
  2587. spawn(function()
  2588. pcall(v)
  2589. end)
  2590. end
  2591.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement