Advertisement
Surrealism

Untitled

Nov 23rd, 2018
664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.20 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. --Converted with ttyyuu12345's model to script plugin v4
  7. function sandbox(var,func)
  8. local env = getfenv(func)
  9. local newenv = setmetatable({},{
  10. __index = function(self,k)
  11. if k=="script" then
  12. return var
  13. else
  14. return env[k]
  15. end
  16. end,
  17. })
  18. setfenv(func,newenv)
  19. return func
  20. end
  21. cors = {}
  22. mas = Instance.new("Model",game:GetService("Lighting"))
  23. LocalScript0 = Instance.new("LocalScript")
  24. ImageLabel1 = Instance.new("ImageLabel")
  25. ImageLabel2 = Instance.new("ImageLabel")
  26. ImageLabel3 = Instance.new("ImageLabel")
  27. ImageLabel4 = Instance.new("ImageLabel")
  28. ImageLabel5 = Instance.new("ImageLabel")
  29. ParticleEmitter6 = Instance.new("ParticleEmitter")
  30. ParticleEmitter7 = Instance.new("ParticleEmitter")
  31. ParticleEmitter8 = Instance.new("ParticleEmitter")
  32. ParticleEmitter9 = Instance.new("ParticleEmitter")
  33. BillboardGui10 = Instance.new("BillboardGui")
  34. ImageLabel11 = Instance.new("ImageLabel")
  35. ImageLabel12 = Instance.new("ImageLabel")
  36. ImageLabel13 = Instance.new("ImageLabel")
  37. ImageLabel14 = Instance.new("ImageLabel")
  38. ImageLabel15 = Instance.new("ImageLabel")
  39. LocalScript16 = Instance.new("LocalScript")
  40. UnionOperation17 = Instance.new("UnionOperation")
  41. ParticleEmitter18 = Instance.new("ParticleEmitter")
  42. ParticleEmitter19 = Instance.new("ParticleEmitter")
  43. ParticleEmitter20 = Instance.new("ParticleEmitter")
  44. ParticleEmitter21 = Instance.new("ParticleEmitter")
  45. BillboardGui22 = Instance.new("BillboardGui")
  46. ImageLabel23 = Instance.new("ImageLabel")
  47. ImageLabel24 = Instance.new("ImageLabel")
  48. ImageLabel25 = Instance.new("ImageLabel")
  49. ImageLabel26 = Instance.new("ImageLabel")
  50. ImageLabel27 = Instance.new("ImageLabel")
  51. LocalScript28 = Instance.new("LocalScript")
  52. Script29 = Instance.new("Script")
  53. Script30 = Instance.new("Script")
  54. LocalScript31 = Instance.new("LocalScript")
  55. Part32 = Instance.new("Part")
  56. SpecialMesh33 = Instance.new("SpecialMesh")
  57. Sound34 = Instance.new("Sound")
  58. ParticleEmitter35 = Instance.new("ParticleEmitter")
  59. ParticleEmitter36 = Instance.new("ParticleEmitter")
  60. ParticleEmitter37 = Instance.new("ParticleEmitter")
  61. ParticleEmitter38 = Instance.new("ParticleEmitter")
  62. Part39 = Instance.new("Part")
  63. SpecialMesh40 = Instance.new("SpecialMesh")
  64. Sound41 = Instance.new("Sound")
  65. Tool42 = Instance.new("Tool")
  66. UnionOperation43 = Instance.new("UnionOperation")
  67. ParticleEmitter44 = Instance.new("ParticleEmitter")
  68. ParticleEmitter45 = Instance.new("ParticleEmitter")
  69. ParticleEmitter46 = Instance.new("ParticleEmitter")
  70. ParticleEmitter47 = Instance.new("ParticleEmitter")
  71. BillboardGui48 = Instance.new("BillboardGui")
  72. ImageLabel49 = Instance.new("ImageLabel")
  73. ImageLabel50 = Instance.new("ImageLabel")
  74. ImageLabel51 = Instance.new("ImageLabel")
  75. ImageLabel52 = Instance.new("ImageLabel")
  76. ImageLabel53 = Instance.new("ImageLabel")
  77. LocalScript54 = Instance.new("LocalScript")
  78. Part55 = Instance.new("Part")
  79. SpecialMesh56 = Instance.new("SpecialMesh")
  80. Sound57 = Instance.new("Sound")
  81. Part58 = Instance.new("Part")
  82. SpecialMesh59 = Instance.new("SpecialMesh")
  83. Sound60 = Instance.new("Sound")
  84. ParticleEmitter61 = Instance.new("ParticleEmitter")
  85. ParticleEmitter62 = Instance.new("ParticleEmitter")
  86. ParticleEmitter63 = Instance.new("ParticleEmitter")
  87. ParticleEmitter64 = Instance.new("ParticleEmitter")
  88. Script65 = Instance.new("Script")
  89. Script66 = Instance.new("Script")
  90. LocalScript67 = Instance.new("LocalScript")
  91. LocalScript54.Name = "lineofsight"
  92. LocalScript54.Parent = BillboardGui48
  93. table.insert(cors,sandbox(LocalScript54,function()
  94. wait(2)
  95. local light = script.Parent.Adornee
  96. local player = script.Parent.Parent.Parent.Character.Head
  97. local p = script.Parent
  98.  
  99. function fadegui(guis, start, value, rate, frame, text, image)
  100. for i = 1, rate do
  101. local step = i
  102. for g = 1, #guis do
  103. local increment = (value[g] - start[g])/rate
  104. if frame then
  105. guis[g].BackgroundTransparency = start[g] + increment*step
  106. end
  107. if string.sub(guis[g].ClassName,1,4) == "Text" and text then
  108. guis[g].TextTransparency = increment*step + start[g]
  109. end
  110. if string.sub(guis[g].ClassName,1,5) == "Image" and image then
  111. guis[g].ImageTransparency = increment*step + start[g]
  112. end
  113. end
  114. wait(1/60)
  115. end
  116. end
  117.  
  118. while true do
  119. wait(0.1)
  120. local mag = (player.Position - light.Position).magnitude
  121. local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
  122. local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
  123. if mag < 999 then
  124. if block ~= light and p.Enabled then
  125. local start = {}
  126. local value = {}
  127. local guis = {}
  128. for i, v in pairs(p:GetChildren()) do
  129. if v.ClassName ~= "LocalScript" then
  130. table.insert(start,#start+1,0)
  131. table.insert(value,#value+1,1)
  132. table.insert(guis,#guis+1,v)
  133. end
  134. end
  135. fadegui(guis, start, value, 4, false, false, true)
  136. p.Enabled = false
  137. elseif block == light and not p.Enabled then
  138. p.Enabled = true
  139. local start = {}
  140. local value = {}
  141. local guis = {}
  142. for i, v in pairs(p:GetChildren()) do
  143. if v.ClassName ~= "LocalScript" then
  144. table.insert(start,#start+1,1)
  145. table.insert(value,#value+1,0)
  146. table.insert(guis,#guis+1,v)
  147. end
  148. end
  149. fadegui(guis, start, value, 3, false, false, true)
  150. end
  151. else
  152. p.Enabled = false
  153. end
  154. end
  155.  
  156. end))
  157. ImageLabel51.Name = "glow"
  158. ImageLabel51.Parent = BillboardGui48
  159. ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
  160. ImageLabel51.Transparency = 1
  161. ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
  162. ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
  163. ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
  164. ImageLabel51.BackgroundTransparency = 1
  165. ImageLabel51.BorderColor = BrickColor.new("New Yeller")
  166. ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
  167. ImageLabel51.BorderSizePixel = 0
  168. ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
  169. ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  170. ImageLabel51.ImageTransparency = 0.10000000149012
  171. ImageLabel52.Name = "hdr"
  172. ImageLabel52.Parent = BillboardGui48
  173. ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
  174. ImageLabel52.Transparency = 1
  175. ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
  176. ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
  177. ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
  178. ImageLabel52.BackgroundTransparency = 1
  179. ImageLabel52.BorderColor = BrickColor.new("New Yeller")
  180. ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
  181. ImageLabel52.BorderSizePixel = 0
  182. ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
  183. ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  184. ImageLabel52.ImageTransparency = 0.10000000149012
  185. ImageLabel53.Name = "hdr"
  186. ImageLabel53.Parent = BillboardGui48
  187. ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
  188. ImageLabel53.Transparency = 1
  189. ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
  190. ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
  191. ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
  192. ImageLabel53.BackgroundTransparency = 1
  193. ImageLabel53.BorderColor = BrickColor.new("New Yeller")
  194. ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
  195. ImageLabel53.BorderSizePixel = 0
  196. ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
  197. ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  198. ImageLabel53.ImageTransparency = 0.10000000149012
  199. ImageLabel49.Name = "hflare"
  200. ImageLabel49.Parent = BillboardGui48
  201. ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
  202. ImageLabel49.Transparency = 1
  203. ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
  204. ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
  205. ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
  206. ImageLabel49.BackgroundTransparency = 1
  207. ImageLabel49.BorderColor = BrickColor.new("New Yeller")
  208. ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
  209. ImageLabel49.BorderSizePixel = 0
  210. ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
  211. ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  212. ImageLabel49.ImageTransparency = 0.10000000149012
  213. ImageLabel50.Name = "hflare"
  214. ImageLabel50.Parent = BillboardGui48
  215. ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
  216. ImageLabel50.Transparency = 1
  217. ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
  218. ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
  219. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
  220. ImageLabel50.BackgroundTransparency = 1
  221. ImageLabel50.BorderColor = BrickColor.new("New Yeller")
  222. ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
  223. ImageLabel50.BorderSizePixel = 0
  224. ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
  225. ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  226. ImageLabel50.ImageTransparency = 0.10000000149012
  227. ParticleEmitter47.Name = "Bubble"
  228. ParticleEmitter47.Parent = UnionOperation43
  229. ParticleEmitter47.Speed = NumberRange.new(0, 0)
  230. ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
  231. ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
  232. ParticleEmitter47.LightEmission = 1
  233. ParticleEmitter47.Texture = "rbxassetid://1084955488"
  234. ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
  235. ParticleEmitter47.ZOffset = 3
  236. ParticleEmitter47.Size = NumberSequence.new(4,6,10)
  237. ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
  238. ParticleEmitter47.LockedToPart = true
  239. ParticleEmitter47.Rate = 6
  240. ParticleEmitter46.Name = "Glow"
  241. ParticleEmitter46.Parent = UnionOperation43
  242. ParticleEmitter46.Speed = NumberRange.new(0, 0)
  243. ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  244. ParticleEmitter46.LightEmission = 1
  245. ParticleEmitter46.Texture = "rbxassetid://867619398"
  246. ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
  247. ParticleEmitter46.Size = NumberSequence.new(3,3)
  248. ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
  249. ParticleEmitter46.LockedToPart = true
  250. ParticleEmitter46.Rate = 4
  251. ParticleEmitter45.Name = "Rays"
  252. ParticleEmitter45.Parent = UnionOperation43
  253. ParticleEmitter45.Speed = NumberRange.new(0, 0)
  254. ParticleEmitter45.Rotation = NumberRange.new(120, 240)
  255. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  256. ParticleEmitter45.LightEmission = 1
  257. ParticleEmitter45.Texture = "rbxassetid://1053548563"
  258. ParticleEmitter45.Transparency = NumberSequence.new(0,5.2658066351796e-07,1.6850581232575e-05,0.00012795910879504,0.00053921859944239,0.0016455645672977,0.0040946914814413,0.0088502410799265,0.017254995182157,0.031094063073397,0.052658066153526,0.084806345403194,0.13103012740612,0.19551572203636,0.28320771455765,0.39987221360207,0.55215984582901,0.74766927957535,0.99501001834869,1)
  259. ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
  260. ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
  261. ParticleEmitter45.LockedToPart = true
  262. ParticleEmitter45.Rate = 4
  263. ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
  264. ParticleEmitter44.Name = "Rays"
  265. ParticleEmitter44.Parent = UnionOperation43
  266. ParticleEmitter44.Speed = NumberRange.new(0, 0)
  267. ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
  268. ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  269. ParticleEmitter44.LightEmission = 1
  270. ParticleEmitter44.Texture = "rbxassetid://1084975295"
  271. ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
  272. ParticleEmitter44.Size = NumberSequence.new(0,1.2418006658554,2.2236206531525,2.9886019229889,3.5748257637024,4.0156278610229,4.339916229248,4.5724840164185,4.7343292236328,4.8429670333862,4.9127492904663,4.9551763534546,4.9792170524597,4.9916229248047,4.9972424507141,4.9993405342102,4.9999117851257,4.9999971389771,5,5)
  273. ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
  274. ParticleEmitter44.LockedToPart = true
  275. ParticleEmitter44.Rate = 4
  276. ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
  277. BillboardGui48.Name = "barlight2"
  278. BillboardGui48.Parent = UnionOperation43
  279. BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
  280. BillboardGui48.AlwaysOnTop = true
  281. ImageLabel49.Name = "hflare"
  282. ImageLabel49.Parent = BillboardGui48
  283. ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
  284. ImageLabel49.Transparency = 1
  285. ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
  286. ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
  287. ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
  288. ImageLabel49.BackgroundTransparency = 1
  289. ImageLabel49.BorderColor = BrickColor.new("New Yeller")
  290. ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
  291. ImageLabel49.BorderSizePixel = 0
  292. ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
  293. ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  294. ImageLabel49.ImageTransparency = 0.10000000149012
  295. ImageLabel50.Name = "hflare"
  296. ImageLabel50.Parent = BillboardGui48
  297. ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
  298. ImageLabel50.Transparency = 1
  299. ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
  300. ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
  301. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
  302. ImageLabel50.BackgroundTransparency = 1
  303. ImageLabel50.BorderColor = BrickColor.new("New Yeller")
  304. ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
  305. ImageLabel50.BorderSizePixel = 0
  306. ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
  307. ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  308. ImageLabel50.ImageTransparency = 0.10000000149012
  309. ImageLabel51.Name = "glow"
  310. ImageLabel51.Parent = BillboardGui48
  311. ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
  312. ImageLabel51.Transparency = 1
  313. ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
  314. ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
  315. ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
  316. ImageLabel51.BackgroundTransparency = 1
  317. ImageLabel51.BorderColor = BrickColor.new("New Yeller")
  318. ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
  319. ImageLabel51.BorderSizePixel = 0
  320. ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
  321. ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  322. ImageLabel51.ImageTransparency = 0.10000000149012
  323. ImageLabel52.Name = "hdr"
  324. ImageLabel52.Parent = BillboardGui48
  325. ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
  326. ImageLabel52.Transparency = 1
  327. ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
  328. ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
  329. ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
  330. ImageLabel52.BackgroundTransparency = 1
  331. ImageLabel52.BorderColor = BrickColor.new("New Yeller")
  332. ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
  333. ImageLabel52.BorderSizePixel = 0
  334. ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
  335. ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  336. ImageLabel52.ImageTransparency = 0.10000000149012
  337. ImageLabel53.Name = "hdr"
  338. ImageLabel53.Parent = BillboardGui48
  339. ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
  340. ImageLabel53.Transparency = 1
  341. ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
  342. ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
  343. ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
  344. ImageLabel53.BackgroundTransparency = 1
  345. ImageLabel53.BorderColor = BrickColor.new("New Yeller")
  346. ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
  347. ImageLabel53.BorderSizePixel = 0
  348. ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
  349. ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  350. ImageLabel53.ImageTransparency = 0.10000000149012
  351. LocalScript54.Name = "lineofsight"
  352. LocalScript54.Parent = BillboardGui48
  353. table.insert(cors,sandbox(LocalScript54,function()
  354. wait(2)
  355. local light = script.Parent.Adornee
  356. local player = script.Parent.Parent.Parent.Character.Head
  357. local p = script.Parent
  358.  
  359. function fadegui(guis, start, value, rate, frame, text, image)
  360. for i = 1, rate do
  361. local step = i
  362. for g = 1, #guis do
  363. local increment = (value[g] - start[g])/rate
  364. if frame then
  365. guis[g].BackgroundTransparency = start[g] + increment*step
  366. end
  367. if string.sub(guis[g].ClassName,1,4) == "Text" and text then
  368. guis[g].TextTransparency = increment*step + start[g]
  369. end
  370. if string.sub(guis[g].ClassName,1,5) == "Image" and image then
  371. guis[g].ImageTransparency = increment*step + start[g]
  372. end
  373. end
  374. wait(1/60)
  375. end
  376. end
  377.  
  378. while true do
  379. wait(0.1)
  380. local mag = (player.Position - light.Position).magnitude
  381. local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
  382. local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
  383. if mag < 999 then
  384. if block ~= light and p.Enabled then
  385. local start = {}
  386. local value = {}
  387. local guis = {}
  388. for i, v in pairs(p:GetChildren()) do
  389. if v.ClassName ~= "LocalScript" then
  390. table.insert(start,#start+1,0)
  391. table.insert(value,#value+1,1)
  392. table.insert(guis,#guis+1,v)
  393. end
  394. end
  395. fadegui(guis, start, value, 4, false, false, true)
  396. p.Enabled = false
  397. elseif block == light and not p.Enabled then
  398. p.Enabled = true
  399. local start = {}
  400. local value = {}
  401. local guis = {}
  402. for i, v in pairs(p:GetChildren()) do
  403. if v.ClassName ~= "LocalScript" then
  404. table.insert(start,#start+1,1)
  405. table.insert(value,#value+1,0)
  406. table.insert(guis,#guis+1,v)
  407. end
  408. end
  409. fadegui(guis, start, value, 3, false, false, true)
  410. end
  411. else
  412. p.Enabled = false
  413. end
  414. end
  415.  
  416. end))
  417. UnionOperation43.Name = "Apple"
  418. UnionOperation43.Parent = Tool42
  419. UnionOperation43.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  420. UnionOperation43.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  421. UnionOperation43.Color = Color3.new(0.960784, 0.803922, 0.188235)
  422. UnionOperation43.Size = Vector3.new(0.993667603, 1.00000012, 0.998377323)
  423. UnionOperation43.Anchored = true
  424. UnionOperation43.BrickColor = BrickColor.new("Bright yellow")
  425. UnionOperation43.CanCollide = false
  426. UnionOperation43.Material = Enum.Material.SmoothPlastic
  427. UnionOperation43.Reflectance = 0.15000000596046
  428. UnionOperation43.brickColor = BrickColor.new("Bright yellow")
  429. ParticleEmitter44.Name = "Rays"
  430. ParticleEmitter44.Parent = UnionOperation43
  431. ParticleEmitter44.Speed = NumberRange.new(0, 0)
  432. ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
  433. ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  434. ParticleEmitter44.LightEmission = 1
  435. ParticleEmitter44.Texture = "rbxassetid://1084975295"
  436. ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
  437. ParticleEmitter44.Size = NumberSequence.new(0,1.2418006658554,2.2236206531525,2.9886019229889,3.5748257637024,4.0156278610229,4.339916229248,4.5724840164185,4.7343292236328,4.8429670333862,4.9127492904663,4.9551763534546,4.9792170524597,4.9916229248047,4.9972424507141,4.9993405342102,4.9999117851257,4.9999971389771,5,5)
  438. ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
  439. ParticleEmitter44.LockedToPart = true
  440. ParticleEmitter44.Rate = 4
  441. ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
  442. ParticleEmitter45.Name = "Rays"
  443. ParticleEmitter45.Parent = UnionOperation43
  444. ParticleEmitter45.Speed = NumberRange.new(0, 0)
  445. ParticleEmitter45.Rotation = NumberRange.new(120, 240)
  446. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  447. ParticleEmitter45.LightEmission = 1
  448. ParticleEmitter45.Texture = "rbxassetid://1053548563"
  449. ParticleEmitter45.Transparency = NumberSequence.new(0,5.2658066351796e-07,1.6850581232575e-05,0.00012795910879504,0.00053921859944239,0.0016455645672977,0.0040946914814413,0.0088502410799265,0.017254995182157,0.031094063073397,0.052658066153526,0.084806345403194,0.13103012740612,0.19551572203636,0.28320771455765,0.39987221360207,0.55215984582901,0.74766927957535,0.99501001834869,1)
  450. ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
  451. ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
  452. ParticleEmitter45.LockedToPart = true
  453. ParticleEmitter45.Rate = 4
  454. ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
  455. ParticleEmitter46.Name = "Glow"
  456. ParticleEmitter46.Parent = UnionOperation43
  457. ParticleEmitter46.Speed = NumberRange.new(0, 0)
  458. ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  459. ParticleEmitter46.LightEmission = 1
  460. ParticleEmitter46.Texture = "rbxassetid://867619398"
  461. ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
  462. ParticleEmitter46.Size = NumberSequence.new(3,3)
  463. ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
  464. ParticleEmitter46.LockedToPart = true
  465. ParticleEmitter46.Rate = 4
  466. ParticleEmitter47.Name = "Bubble"
  467. ParticleEmitter47.Parent = UnionOperation43
  468. ParticleEmitter47.Speed = NumberRange.new(0, 0)
  469. ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
  470. ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
  471. ParticleEmitter47.LightEmission = 1
  472. ParticleEmitter47.Texture = "rbxassetid://1084955488"
  473. ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
  474. ParticleEmitter47.ZOffset = 3
  475. ParticleEmitter47.Size = NumberSequence.new(4,6,10)
  476. ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
  477. ParticleEmitter47.LockedToPart = true
  478. ParticleEmitter47.Rate = 6
  479. BillboardGui48.Name = "barlight2"
  480. BillboardGui48.Parent = UnionOperation43
  481. BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
  482. BillboardGui48.AlwaysOnTop = true
  483. ImageLabel49.Name = "hflare"
  484. ImageLabel49.Parent = BillboardGui48
  485. ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
  486. ImageLabel49.Transparency = 1
  487. ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
  488. ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
  489. ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
  490. ImageLabel49.BackgroundTransparency = 1
  491. ImageLabel49.BorderColor = BrickColor.new("New Yeller")
  492. ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
  493. ImageLabel49.BorderSizePixel = 0
  494. ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
  495. ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  496. ImageLabel49.ImageTransparency = 0.10000000149012
  497. ImageLabel50.Name = "hflare"
  498. ImageLabel50.Parent = BillboardGui48
  499. ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
  500. ImageLabel50.Transparency = 1
  501. ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
  502. ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
  503. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
  504. ImageLabel50.BackgroundTransparency = 1
  505. ImageLabel50.BorderColor = BrickColor.new("New Yeller")
  506. ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
  507. ImageLabel50.BorderSizePixel = 0
  508. ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
  509. ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  510. ImageLabel50.ImageTransparency = 0.10000000149012
  511. ImageLabel51.Name = "glow"
  512. ImageLabel51.Parent = BillboardGui48
  513. ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
  514. ImageLabel51.Transparency = 1
  515. ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
  516. ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
  517. ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
  518. ImageLabel51.BackgroundTransparency = 1
  519. ImageLabel51.BorderColor = BrickColor.new("New Yeller")
  520. ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
  521. ImageLabel51.BorderSizePixel = 0
  522. ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
  523. ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  524. ImageLabel51.ImageTransparency = 0.10000000149012
  525. ImageLabel52.Name = "hdr"
  526. ImageLabel52.Parent = BillboardGui48
  527. ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
  528. ImageLabel52.Transparency = 1
  529. ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
  530. ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
  531. ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
  532. ImageLabel52.BackgroundTransparency = 1
  533. ImageLabel52.BorderColor = BrickColor.new("New Yeller")
  534. ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
  535. ImageLabel52.BorderSizePixel = 0
  536. ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
  537. ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  538. ImageLabel52.ImageTransparency = 0.10000000149012
  539. ImageLabel53.Name = "hdr"
  540. ImageLabel53.Parent = BillboardGui48
  541. ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
  542. ImageLabel53.Transparency = 1
  543. ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
  544. ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
  545. ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
  546. ImageLabel53.BackgroundTransparency = 1
  547. ImageLabel53.BorderColor = BrickColor.new("New Yeller")
  548. ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
  549. ImageLabel53.BorderSizePixel = 0
  550. ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
  551. ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  552. ImageLabel53.ImageTransparency = 0.10000000149012
  553. LocalScript54.Name = "lineofsight"
  554. LocalScript54.Parent = BillboardGui48
  555. table.insert(cors,sandbox(LocalScript54,function()
  556. wait(2)
  557. local light = script.Parent.Adornee
  558. local player = script.Parent.Parent.Parent.Character.Head
  559. local p = script.Parent
  560.  
  561. function fadegui(guis, start, value, rate, frame, text, image)
  562. for i = 1, rate do
  563. local step = i
  564. for g = 1, #guis do
  565. local increment = (value[g] - start[g])/rate
  566. if frame then
  567. guis[g].BackgroundTransparency = start[g] + increment*step
  568. end
  569. if string.sub(guis[g].ClassName,1,4) == "Text" and text then
  570. guis[g].TextTransparency = increment*step + start[g]
  571. end
  572. if string.sub(guis[g].ClassName,1,5) == "Image" and image then
  573. guis[g].ImageTransparency = increment*step + start[g]
  574. end
  575. end
  576. wait(1/60)
  577. end
  578. end
  579.  
  580. while true do
  581. wait(0.1)
  582. local mag = (player.Position - light.Position).magnitude
  583. local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
  584. local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
  585. if mag < 999 then
  586. if block ~= light and p.Enabled then
  587. local start = {}
  588. local value = {}
  589. local guis = {}
  590. for i, v in pairs(p:GetChildren()) do
  591. if v.ClassName ~= "LocalScript" then
  592. table.insert(start,#start+1,0)
  593. table.insert(value,#value+1,1)
  594. table.insert(guis,#guis+1,v)
  595. end
  596. end
  597. fadegui(guis, start, value, 4, false, false, true)
  598. p.Enabled = false
  599. elseif block == light and not p.Enabled then
  600. p.Enabled = true
  601. local start = {}
  602. local value = {}
  603. local guis = {}
  604. for i, v in pairs(p:GetChildren()) do
  605. if v.ClassName ~= "LocalScript" then
  606. table.insert(start,#start+1,1)
  607. table.insert(value,#value+1,0)
  608. table.insert(guis,#guis+1,v)
  609. end
  610. end
  611. fadegui(guis, start, value, 3, false, false, true)
  612. end
  613. else
  614. p.Enabled = false
  615. end
  616. end
  617.  
  618. end))
  619. Script66.Name = "MindCraze"
  620. Script66.Parent = Tool42
  621. table.insert(cors,sandbox(Script66,function()
  622. local character = script.Parent
  623. if character:findFirstChild("Animate") then
  624. character.Animate:remove()
  625. else
  626. end
  627.  
  628. character.Humanoid.PlatformStand = true
  629.  
  630. while true do
  631. wait(0.1)
  632. character.Torso["Right Shoulder"].MaxVelocity = 0.8
  633. character.Torso["Right Shoulder"].DesiredAngle = math.random(-2,2)
  634. character.Torso["Left Shoulder"].MaxVelocity = 0.8
  635. character.Torso["Left Shoulder"].DesiredAngle = math.random(-2,2)
  636. character.Torso["Left Hip"].MaxVelocity = 0.8
  637. character.Torso["Right Hip"].DesiredAngle = math.random(-2,2)
  638. character.Torso["Neck"].MaxVelocity = 0.8
  639. character.Torso["Neck"].DesiredAngle = math.random(-2,2)
  640.  
  641. local e = math.random(0,5)
  642. character.Humanoid.Health = character.Humanoid.Health - e
  643.  
  644.  
  645.  
  646. end
  647. end))
  648. Script65.Name = "Weld"
  649. Script65.Parent = Tool42
  650. table.insert(cors,sandbox(Script65,function()
  651. function weld()
  652. local parts,last = {}
  653. local function scan(parent)
  654. for _,v in pairs(parent:GetChildren()) do
  655. if (v:IsA("BasePart")) then
  656. if (last) then
  657. local w = Instance.new("Weld")
  658. w.Name = ("%s_Weld"):format(v.Name)
  659. w.Part0,w.Part1 = last,v
  660. w.C0 = last.CFrame:inverse()
  661. w.C1 = v.CFrame:inverse()
  662. w.Parent = last
  663. end
  664. last = v
  665. table.insert(parts,v)
  666. end
  667. scan(v)
  668. end
  669. end
  670. scan(script.Parent)
  671. for _,v in pairs(parts) do
  672. v.Anchored = false
  673. end
  674. end
  675.  
  676. weld()
  677. script:Remove()
  678. end))
  679. LocalScript67.Name = "Local Gui"
  680. LocalScript67.Parent = Tool42
  681. table.insert(cors,sandbox(LocalScript67,function()
  682. local Tool = script.Parent;
  683. local ven = false
  684. local mesh = Tool.Handle.Mesh
  685. local dis = 0
  686. enabled = true
  687. function onActivated()
  688. ven = true
  689. mesh.Parent.Transparency = 0.4
  690. while ven == true do
  691. wait(0.01)
  692. mesh.Scale = mesh.Scale - Vector3.new(1,1,1)
  693.  
  694. dis = dis + 1
  695. end
  696.  
  697. end
  698.  
  699. function onDeactivated()
  700. Tool.Handle.Sound:play()
  701. mesh.Parent.Transparency = 0
  702. ye = math.floor(dis/5)
  703. while ye > 0 do
  704. wait(0.01)
  705. ye = ye - 1
  706. mesh.Scale = mesh.Scale + Vector3.new(5,5,5)
  707. end
  708. ven = false
  709.  
  710.  
  711.  
  712. z = game.Workspace:GetChildren()
  713. for i= 1, #z do
  714. if z[i]:findFirstChild("Humanoid") and z[i].Humanoid ~= Tool.Parent.Humanoid and z[i]:findFirstChild("Animate") and z[i]:findFirstChild("Torso") and (z[i].Torso.Position - Tool.Parent.Torso.Position).magnitude < dis/2 then
  715. local e = Tool.MindCraze:clone()
  716. e:clone().Parent = z[i]
  717.  
  718. else
  719. end
  720. end
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729. wait(0.1)
  730. mesh.Parent.Transparency = 0.001
  731. mesh.Scale = Vector3.new(1,1,1)
  732.  
  733. dis = 0
  734. end
  735.  
  736. function onEquippedLocal(mouse)
  737.  
  738. if mouse == nil then
  739. print("Mouse not found")
  740. return
  741. end
  742.  
  743. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  744. end
  745.  
  746.  
  747. Tool.Equipped:connect(onEquippedLocal)
  748. script.Parent.Activated:connect(onActivated)
  749. script.Parent.Deactivated:connect(onDeactivated)
  750.  
  751. end))
  752. Part58.Name = "Core"
  753. Part58.Parent = Tool42
  754. Part58.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  755. Part58.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  756. Part58.Color = Color3.new(0.960784, 0.803922, 0.188235)
  757. Part58.Transparency = 0.69999998807907
  758. Part58.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
  759. Part58.Anchored = true
  760. Part58.BottomSurface = Enum.SurfaceType.Smooth
  761. Part58.BrickColor = BrickColor.new("Bright yellow")
  762. Part58.CanCollide = false
  763. Part58.Material = Enum.Material.Neon
  764. Part58.TopSurface = Enum.SurfaceType.Smooth
  765. Part58.brickColor = BrickColor.new("Bright yellow")
  766. Part58.FormFactor = Enum.FormFactor.Custom
  767. Part58.formFactor = Enum.FormFactor.Custom
  768. SpecialMesh59.Parent = Part58
  769. SpecialMesh59.TextureId = "rbxgameasset://Images/sphere"
  770. SpecialMesh59.MeshType = Enum.MeshType.FileMesh
  771. Sound60.Parent = Part58
  772. Sound60.SoundId = "http://www.roblox.com/asset/?id= 2974000"
  773. ParticleEmitter61.Name = "Rays"
  774. ParticleEmitter61.Parent = Part58
  775. ParticleEmitter61.Speed = NumberRange.new(0, 0)
  776. ParticleEmitter61.Rotation = NumberRange.new(120, 240)
  777. ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  778. ParticleEmitter61.LightEmission = 1
  779. ParticleEmitter61.Texture = "rbxassetid://1053548563"
  780. ParticleEmitter61.Transparency = NumberSequence.new(0,5.2658066351796e-07,1.6850581232575e-05,0.00012795910879504,0.00053921859944239,0.0016455645672977,0.0040946914814413,0.0088502410799265,0.017254995182157,0.031094063073397,0.052658066153526,0.084806345403194,0.13103012740612,0.19551572203636,0.28320771455765,0.39987221360207,0.55215984582901,0.74766927957535,0.99501001834869,1)
  781. ParticleEmitter61.Size = NumberSequence.new(0,5.4999995231628)
  782. ParticleEmitter61.Lifetime = NumberRange.new(1, 1)
  783. ParticleEmitter61.LockedToPart = true
  784. ParticleEmitter61.Rate = 4
  785. ParticleEmitter61.RotSpeed = NumberRange.new(-15, 15)
  786. ParticleEmitter62.Name = "Rays"
  787. ParticleEmitter62.Parent = Part58
  788. ParticleEmitter62.Speed = NumberRange.new(0, 0)
  789. ParticleEmitter62.Rotation = NumberRange.new(-180, 180)
  790. ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  791. ParticleEmitter62.LightEmission = 1
  792. ParticleEmitter62.Texture = "rbxassetid://1084975295"
  793. ParticleEmitter62.Transparency = NumberSequence.new(1,0.69999998807907,1)
  794. ParticleEmitter62.Size = NumberSequence.new(0,1.2418006658554,2.2236206531525,2.9886019229889,3.5748257637024,4.0156278610229,4.339916229248,4.5724840164185,4.7343292236328,4.8429670333862,4.9127492904663,4.9551763534546,4.9792170524597,4.9916229248047,4.9972424507141,4.9993405342102,4.9999117851257,4.9999971389771,5,5)
  795. ParticleEmitter62.Lifetime = NumberRange.new(1, 1)
  796. ParticleEmitter62.LockedToPart = true
  797. ParticleEmitter62.Rate = 4
  798. ParticleEmitter62.RotSpeed = NumberRange.new(-50, 50)
  799. ParticleEmitter63.Name = "Glow"
  800. ParticleEmitter63.Parent = Part58
  801. ParticleEmitter63.Speed = NumberRange.new(0, 0)
  802. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  803. ParticleEmitter63.LightEmission = 1
  804. ParticleEmitter63.Texture = "rbxassetid://867619398"
  805. ParticleEmitter63.Transparency = NumberSequence.new(1,0.69999998807907,1)
  806. ParticleEmitter63.Size = NumberSequence.new(3,3)
  807. ParticleEmitter63.Lifetime = NumberRange.new(1, 1)
  808. ParticleEmitter63.LockedToPart = true
  809. ParticleEmitter63.Rate = 4
  810. ParticleEmitter64.Name = "Bubble"
  811. ParticleEmitter64.Parent = Part58
  812. ParticleEmitter64.Speed = NumberRange.new(0, 0)
  813. ParticleEmitter64.Rotation = NumberRange.new(-180, 180)
  814. ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
  815. ParticleEmitter64.LightEmission = 1
  816. ParticleEmitter64.Texture = "rbxassetid://1084955488"
  817. ParticleEmitter64.Transparency = NumberSequence.new(1,0.69999998807907,1)
  818. ParticleEmitter64.ZOffset = 3
  819. ParticleEmitter64.Size = NumberSequence.new(4,6,10)
  820. ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
  821. ParticleEmitter64.LockedToPart = true
  822. ParticleEmitter64.Rate = 6
  823. Part55.Name = "Handle"
  824. Part55.Parent = Tool42
  825. Part55.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  826. Part55.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  827. Part55.Color = Color3.new(0.960784, 0.803922, 0.188235)
  828. Part55.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
  829. Part55.Anchored = true
  830. Part55.BottomSurface = Enum.SurfaceType.Smooth
  831. Part55.BrickColor = BrickColor.new("Bright yellow")
  832. Part55.CanCollide = false
  833. Part55.Material = Enum.Material.Neon
  834. Part55.TopSurface = Enum.SurfaceType.Smooth
  835. Part55.brickColor = BrickColor.new("Bright yellow")
  836. Part55.FormFactor = Enum.FormFactor.Custom
  837. Part55.formFactor = Enum.FormFactor.Custom
  838. SpecialMesh56.Parent = Part55
  839. SpecialMesh56.MeshType = Enum.MeshType.Sphere
  840. Sound57.Parent = Part55
  841. Sound57.SoundId = "http://www.roblox.com/asset/?id= 2974000"
  842. Tool42.Name = "Apple of Eden"
  843. Tool42.Parent = mas
  844. Tool42.Grip = CFrame.new(0, 0, 0.300000012, 0.89442718, 0, -0.44721359, 0, 1, 0, 0.44721359, -0, 0.89442718)
  845. Tool42.GripForward = Vector3.new(0.44721359, -0, -0.89442718)
  846. Tool42.GripPos = Vector3.new(0, 0, 0.300000012)
  847. Tool42.GripRight = Vector3.new(0.89442718, 0, 0.44721359)
  848. Tool42.ToolTip = "Unmeasurable Power in the form of an Apple"
  849. UnionOperation43.Name = "Apple"
  850. UnionOperation43.Parent = Tool42
  851. UnionOperation43.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  852. UnionOperation43.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  853. UnionOperation43.Color = Color3.new(0.960784, 0.803922, 0.188235)
  854. UnionOperation43.Size = Vector3.new(0.993667603, 1.00000012, 0.998377323)
  855. UnionOperation43.Anchored = true
  856. UnionOperation43.BrickColor = BrickColor.new("Bright yellow")
  857. UnionOperation43.CanCollide = false
  858. UnionOperation43.Material = Enum.Material.SmoothPlastic
  859. UnionOperation43.Reflectance = 0.15000000596046
  860. UnionOperation43.brickColor = BrickColor.new("Bright yellow")
  861. ParticleEmitter44.Name = "Rays"
  862. ParticleEmitter44.Parent = UnionOperation43
  863. ParticleEmitter44.Speed = NumberRange.new(0, 0)
  864. ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
  865. ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  866. ParticleEmitter44.LightEmission = 1
  867. ParticleEmitter44.Texture = "rbxassetid://1084975295"
  868. ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
  869. ParticleEmitter44.Size = NumberSequence.new(0,1.2418006658554,2.2236206531525,2.9886019229889,3.5748257637024,4.0156278610229,4.339916229248,4.5724840164185,4.7343292236328,4.8429670333862,4.9127492904663,4.9551763534546,4.9792170524597,4.9916229248047,4.9972424507141,4.9993405342102,4.9999117851257,4.9999971389771,5,5)
  870. ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
  871. ParticleEmitter44.LockedToPart = true
  872. ParticleEmitter44.Rate = 4
  873. ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
  874. ParticleEmitter45.Name = "Rays"
  875. ParticleEmitter45.Parent = UnionOperation43
  876. ParticleEmitter45.Speed = NumberRange.new(0, 0)
  877. ParticleEmitter45.Rotation = NumberRange.new(120, 240)
  878. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  879. ParticleEmitter45.LightEmission = 1
  880. ParticleEmitter45.Texture = "rbxassetid://1053548563"
  881. ParticleEmitter45.Transparency = NumberSequence.new(0,5.2658066351796e-07,1.6850581232575e-05,0.00012795910879504,0.00053921859944239,0.0016455645672977,0.0040946914814413,0.0088502410799265,0.017254995182157,0.031094063073397,0.052658066153526,0.084806345403194,0.13103012740612,0.19551572203636,0.28320771455765,0.39987221360207,0.55215984582901,0.74766927957535,0.99501001834869,1)
  882. ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
  883. ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
  884. ParticleEmitter45.LockedToPart = true
  885. ParticleEmitter45.Rate = 4
  886. ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
  887. ParticleEmitter46.Name = "Glow"
  888. ParticleEmitter46.Parent = UnionOperation43
  889. ParticleEmitter46.Speed = NumberRange.new(0, 0)
  890. ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  891. ParticleEmitter46.LightEmission = 1
  892. ParticleEmitter46.Texture = "rbxassetid://867619398"
  893. ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
  894. ParticleEmitter46.Size = NumberSequence.new(3,3)
  895. ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
  896. ParticleEmitter46.LockedToPart = true
  897. ParticleEmitter46.Rate = 4
  898. ParticleEmitter47.Name = "Bubble"
  899. ParticleEmitter47.Parent = UnionOperation43
  900. ParticleEmitter47.Speed = NumberRange.new(0, 0)
  901. ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
  902. ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
  903. ParticleEmitter47.LightEmission = 1
  904. ParticleEmitter47.Texture = "rbxassetid://1084955488"
  905. ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
  906. ParticleEmitter47.ZOffset = 3
  907. ParticleEmitter47.Size = NumberSequence.new(4,6,10)
  908. ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
  909. ParticleEmitter47.LockedToPart = true
  910. ParticleEmitter47.Rate = 6
  911. BillboardGui48.Name = "barlight2"
  912. BillboardGui48.Parent = UnionOperation43
  913. BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
  914. BillboardGui48.AlwaysOnTop = true
  915. ImageLabel49.Name = "hflare"
  916. ImageLabel49.Parent = BillboardGui48
  917. ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
  918. ImageLabel49.Transparency = 1
  919. ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
  920. ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
  921. ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
  922. ImageLabel49.BackgroundTransparency = 1
  923. ImageLabel49.BorderColor = BrickColor.new("New Yeller")
  924. ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
  925. ImageLabel49.BorderSizePixel = 0
  926. ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
  927. ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  928. ImageLabel49.ImageTransparency = 0.10000000149012
  929. ImageLabel50.Name = "hflare"
  930. ImageLabel50.Parent = BillboardGui48
  931. ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
  932. ImageLabel50.Transparency = 1
  933. ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
  934. ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
  935. ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
  936. ImageLabel50.BackgroundTransparency = 1
  937. ImageLabel50.BorderColor = BrickColor.new("New Yeller")
  938. ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
  939. ImageLabel50.BorderSizePixel = 0
  940. ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
  941. ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  942. ImageLabel50.ImageTransparency = 0.10000000149012
  943. ImageLabel51.Name = "glow"
  944. ImageLabel51.Parent = BillboardGui48
  945. ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
  946. ImageLabel51.Transparency = 1
  947. ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
  948. ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
  949. ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
  950. ImageLabel51.BackgroundTransparency = 1
  951. ImageLabel51.BorderColor = BrickColor.new("New Yeller")
  952. ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
  953. ImageLabel51.BorderSizePixel = 0
  954. ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
  955. ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  956. ImageLabel51.ImageTransparency = 0.10000000149012
  957. ImageLabel52.Name = "hdr"
  958. ImageLabel52.Parent = BillboardGui48
  959. ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
  960. ImageLabel52.Transparency = 1
  961. ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
  962. ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
  963. ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
  964. ImageLabel52.BackgroundTransparency = 1
  965. ImageLabel52.BorderColor = BrickColor.new("New Yeller")
  966. ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
  967. ImageLabel52.BorderSizePixel = 0
  968. ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
  969. ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  970. ImageLabel52.ImageTransparency = 0.10000000149012
  971. ImageLabel53.Name = "hdr"
  972. ImageLabel53.Parent = BillboardGui48
  973. ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
  974. ImageLabel53.Transparency = 1
  975. ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
  976. ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
  977. ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
  978. ImageLabel53.BackgroundTransparency = 1
  979. ImageLabel53.BorderColor = BrickColor.new("New Yeller")
  980. ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
  981. ImageLabel53.BorderSizePixel = 0
  982. ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
  983. ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
  984. ImageLabel53.ImageTransparency = 0.10000000149012
  985. LocalScript54.Name = "lineofsight"
  986. LocalScript54.Parent = BillboardGui48
  987. table.insert(cors,sandbox(LocalScript54,function()
  988. wait(2)
  989. local light = script.Parent.Adornee
  990. local player = script.Parent.Parent.Parent.Character.Head
  991. local p = script.Parent
  992.  
  993. function fadegui(guis, start, value, rate, frame, text, image)
  994. for i = 1, rate do
  995. local step = i
  996. for g = 1, #guis do
  997. local increment = (value[g] - start[g])/rate
  998. if frame then
  999. guis[g].BackgroundTransparency = start[g] + increment*step
  1000. end
  1001. if string.sub(guis[g].ClassName,1,4) == "Text" and text then
  1002. guis[g].TextTransparency = increment*step + start[g]
  1003. end
  1004. if string.sub(guis[g].ClassName,1,5) == "Image" and image then
  1005. guis[g].ImageTransparency = increment*step + start[g]
  1006. end
  1007. end
  1008. wait(1/60)
  1009. end
  1010. end
  1011.  
  1012. while true do
  1013. wait(0.1)
  1014. local mag = (player.Position - light.Position).magnitude
  1015. local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
  1016. local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
  1017. if mag < 999 then
  1018. if block ~= light and p.Enabled then
  1019. local start = {}
  1020. local value = {}
  1021. local guis = {}
  1022. for i, v in pairs(p:GetChildren()) do
  1023. if v.ClassName ~= "LocalScript" then
  1024. table.insert(start,#start+1,0)
  1025. table.insert(value,#value+1,1)
  1026. table.insert(guis,#guis+1,v)
  1027. end
  1028. end
  1029. fadegui(guis, start, value, 4, false, false, true)
  1030. p.Enabled = false
  1031. elseif block == light and not p.Enabled then
  1032. p.Enabled = true
  1033. local start = {}
  1034. local value = {}
  1035. local guis = {}
  1036. for i, v in pairs(p:GetChildren()) do
  1037. if v.ClassName ~= "LocalScript" then
  1038. table.insert(start,#start+1,1)
  1039. table.insert(value,#value+1,0)
  1040. table.insert(guis,#guis+1,v)
  1041. end
  1042. end
  1043. fadegui(guis, start, value, 3, false, false, true)
  1044. end
  1045. else
  1046. p.Enabled = false
  1047. end
  1048. end
  1049.  
  1050. end))
  1051. Part55.Name = "Handle"
  1052. Part55.Parent = Tool42
  1053. Part55.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1054. Part55.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  1055. Part55.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1056. Part55.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
  1057. Part55.Anchored = true
  1058. Part55.BottomSurface = Enum.SurfaceType.Smooth
  1059. Part55.BrickColor = BrickColor.new("Bright yellow")
  1060. Part55.CanCollide = false
  1061. Part55.Material = Enum.Material.Neon
  1062. Part55.TopSurface = Enum.SurfaceType.Smooth
  1063. Part55.brickColor = BrickColor.new("Bright yellow")
  1064. Part55.FormFactor = Enum.FormFactor.Custom
  1065. Part55.formFactor = Enum.FormFactor.Custom
  1066. SpecialMesh56.Parent = Part55
  1067. SpecialMesh56.MeshType = Enum.MeshType.Sphere
  1068. Sound57.Parent = Part55
  1069. Sound57.SoundId = "http://www.roblox.com/asset/?id= 2974000"
  1070. Part58.Name = "Core"
  1071. Part58.Parent = Tool42
  1072. Part58.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1073. Part58.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
  1074. Part58.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1075. Part58.Transparency = 0.69999998807907
  1076. Part58.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
  1077. Part58.Anchored = true
  1078. Part58.BottomSurface = Enum.SurfaceType.Smooth
  1079. Part58.BrickColor = BrickColor.new("Bright yellow")
  1080. Part58.CanCollide = false
  1081. Part58.Material = Enum.Material.Neon
  1082. Part58.TopSurface = Enum.SurfaceType.Smooth
  1083. Part58.brickColor = BrickColor.new("Bright yellow")
  1084. Part58.FormFactor = Enum.FormFactor.Custom
  1085. Part58.formFactor = Enum.FormFactor.Custom
  1086. SpecialMesh59.Parent = Part58
  1087. SpecialMesh59.TextureId = "rbxgameasset://Images/sphere"
  1088. SpecialMesh59.MeshType = Enum.MeshType.FileMesh
  1089. Sound60.Parent = Part58
  1090. Sound60.SoundId = "http://www.roblox.com/asset/?id= 2974000"
  1091. ParticleEmitter61.Name = "Rays"
  1092. ParticleEmitter61.Parent = Part58
  1093. ParticleEmitter61.Speed = NumberRange.new(0, 0)
  1094. ParticleEmitter61.Rotation = NumberRange.new(120, 240)
  1095. ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  1096. ParticleEmitter61.LightEmission = 1
  1097. ParticleEmitter61.Texture = "rbxassetid://1053548563"
  1098. ParticleEmitter61.Transparency = NumberSequence.new(0,5.2658066351796e-07,1.6850581232575e-05,0.00012795910879504,0.00053921859944239,0.0016455645672977,0.0040946914814413,0.0088502410799265,0.017254995182157,0.031094063073397,0.052658066153526,0.084806345403194,0.13103012740612,0.19551572203636,0.28320771455765,0.39987221360207,0.55215984582901,0.74766927957535,0.99501001834869,1)
  1099. ParticleEmitter61.Size = NumberSequence.new(0,5.4999995231628)
  1100. ParticleEmitter61.Lifetime = NumberRange.new(1, 1)
  1101. ParticleEmitter61.LockedToPart = true
  1102. ParticleEmitter61.Rate = 4
  1103. ParticleEmitter61.RotSpeed = NumberRange.new(-15, 15)
  1104. ParticleEmitter62.Name = "Rays"
  1105. ParticleEmitter62.Parent = Part58
  1106. ParticleEmitter62.Speed = NumberRange.new(0, 0)
  1107. ParticleEmitter62.Rotation = NumberRange.new(-180, 180)
  1108. ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  1109. ParticleEmitter62.LightEmission = 1
  1110. ParticleEmitter62.Texture = "rbxassetid://1084975295"
  1111. ParticleEmitter62.Transparency = NumberSequence.new(1,0.69999998807907,1)
  1112. ParticleEmitter62.Size = NumberSequence.new(0,1.2418006658554,2.2236206531525,2.9886019229889,3.5748257637024,4.0156278610229,4.339916229248,4.5724840164185,4.7343292236328,4.8429670333862,4.9127492904663,4.9551763534546,4.9792170524597,4.9916229248047,4.9972424507141,4.9993405342102,4.9999117851257,4.9999971389771,5,5)
  1113. ParticleEmitter62.Lifetime = NumberRange.new(1, 1)
  1114. ParticleEmitter62.LockedToPart = true
  1115. ParticleEmitter62.Rate = 4
  1116. ParticleEmitter62.RotSpeed = NumberRange.new(-50, 50)
  1117. ParticleEmitter63.Name = "Glow"
  1118. ParticleEmitter63.Parent = Part58
  1119. ParticleEmitter63.Speed = NumberRange.new(0, 0)
  1120. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
  1121. ParticleEmitter63.LightEmission = 1
  1122. ParticleEmitter63.Texture = "rbxassetid://867619398"
  1123. ParticleEmitter63.Transparency = NumberSequence.new(1,0.69999998807907,1)
  1124. ParticleEmitter63.Size = NumberSequence.new(3,3)
  1125. ParticleEmitter63.Lifetime = NumberRange.new(1, 1)
  1126. ParticleEmitter63.LockedToPart = true
  1127. ParticleEmitter63.Rate = 4
  1128. ParticleEmitter64.Name = "Bubble"
  1129. ParticleEmitter64.Parent = Part58
  1130. ParticleEmitter64.Speed = NumberRange.new(0, 0)
  1131. ParticleEmitter64.Rotation = NumberRange.new(-180, 180)
  1132. ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
  1133. ParticleEmitter64.LightEmission = 1
  1134. ParticleEmitter64.Texture = "rbxassetid://1084955488"
  1135. ParticleEmitter64.Transparency = NumberSequence.new(1,0.69999998807907,1)
  1136. ParticleEmitter64.ZOffset = 3
  1137. ParticleEmitter64.Size = NumberSequence.new(4,6,10)
  1138. ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
  1139. ParticleEmitter64.LockedToPart = true
  1140. ParticleEmitter64.Rate = 6
  1141. Script65.Name = "Weld"
  1142. Script65.Parent = Tool42
  1143. table.insert(cors,sandbox(Script65,function()
  1144. function weld()
  1145. local parts,last = {}
  1146. local function scan(parent)
  1147. for _,v in pairs(parent:GetChildren()) do
  1148. if (v:IsA("BasePart")) then
  1149. if (last) then
  1150. local w = Instance.new("Weld")
  1151. w.Name = ("%s_Weld"):format(v.Name)
  1152. w.Part0,w.Part1 = last,v
  1153. w.C0 = last.CFrame:inverse()
  1154. w.C1 = v.CFrame:inverse()
  1155. w.Parent = last
  1156. end
  1157. last = v
  1158. table.insert(parts,v)
  1159. end
  1160. scan(v)
  1161. end
  1162. end
  1163. scan(script.Parent)
  1164. for _,v in pairs(parts) do
  1165. v.Anchored = false
  1166. end
  1167. end
  1168.  
  1169. weld()
  1170. script:Remove()
  1171. end))
  1172. Script66.Name = "MindCraze"
  1173. Script66.Parent = Tool42
  1174. table.insert(cors,sandbox(Script66,function()
  1175. local character = script.Parent
  1176. if character:findFirstChild("Animate") then
  1177. character.Animate:remove()
  1178. else
  1179. end
  1180.  
  1181. character.Humanoid.PlatformStand = true
  1182.  
  1183. while true do
  1184. wait(0.1)
  1185. character.Torso["Right Shoulder"].MaxVelocity = 0.8
  1186. character.Torso["Right Shoulder"].DesiredAngle = math.random(-2,2)
  1187. character.Torso["Left Shoulder"].MaxVelocity = 0.8
  1188. character.Torso["Left Shoulder"].DesiredAngle = math.random(-2,2)
  1189. character.Torso["Left Hip"].MaxVelocity = 0.8
  1190. character.Torso["Right Hip"].DesiredAngle = math.random(-2,2)
  1191. character.Torso["Neck"].MaxVelocity = 0.8
  1192. character.Torso["Neck"].DesiredAngle = math.random(-2,2)
  1193.  
  1194. local e = math.random(0,5)
  1195. character.Humanoid.Health = character.Humanoid.Health - e
  1196.  
  1197.  
  1198.  
  1199. end
  1200. end))
  1201. LocalScript67.Name = "Local Gui"
  1202. LocalScript67.Parent = Tool42
  1203. table.insert(cors,sandbox(LocalScript67,function()
  1204. local Tool = script.Parent;
  1205. local ven = false
  1206. local mesh = Tool.Handle.Mesh
  1207. local dis = 0
  1208. enabled = true
  1209. function onActivated()
  1210. ven = true
  1211. mesh.Parent.Transparency = 0.4
  1212. while ven == true do
  1213. wait(0.01)
  1214. mesh.Scale = mesh.Scale - Vector3.new(1,1,1)
  1215.  
  1216. dis = dis + 1
  1217. end
  1218.  
  1219. end
  1220.  
  1221. function onDeactivated()
  1222. Tool.Handle.Sound:play()
  1223. mesh.Parent.Transparency = 0
  1224. ye = math.floor(dis/5)
  1225. while ye > 0 do
  1226. wait(0.01)
  1227. ye = ye - 1
  1228. mesh.Scale = mesh.Scale + Vector3.new(5,5,5)
  1229. end
  1230. ven = false
  1231.  
  1232.  
  1233.  
  1234. z = game.Workspace:GetChildren()
  1235. for i= 1, #z do
  1236. if z[i]:findFirstChild("Humanoid") and z[i].Humanoid ~= Tool.Parent.Humanoid and z[i]:findFirstChild("Animate") and z[i]:findFirstChild("Torso") and (z[i].Torso.Position - Tool.Parent.Torso.Position).magnitude < dis/2 then
  1237. local e = Tool.MindCraze:clone()
  1238. e:clone().Parent = z[i]
  1239.  
  1240. else
  1241. end
  1242. end
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251. wait(0.1)
  1252. mesh.Parent.Transparency = 0.001
  1253. mesh.Scale = Vector3.new(1,1,1)
  1254.  
  1255. dis = 0
  1256. end
  1257.  
  1258. function onEquippedLocal(mouse)
  1259.  
  1260. if mouse == nil then
  1261. print("Mouse not found")
  1262. return
  1263. end
  1264.  
  1265. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1266. end
  1267.  
  1268.  
  1269. Tool.Equipped:connect(onEquippedLocal)
  1270. script.Parent.Activated:connect(onActivated)
  1271. script.Parent.Deactivated:connect(onDeactivated)
  1272.  
  1273. end))
  1274. for i,v in pairs(mas:GetChildren()) do
  1275. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1276. pcall(function() v:MakeJoints() end)
  1277. end
  1278. mas:Destroy()
  1279. for i,v in pairs(cors) do
  1280. spawn(function()
  1281. pcall(v)
  1282. end)
  1283. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement