Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- 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
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- LocalScript0 = Instance.new("LocalScript")
- ImageLabel1 = Instance.new("ImageLabel")
- ImageLabel2 = Instance.new("ImageLabel")
- ImageLabel3 = Instance.new("ImageLabel")
- ImageLabel4 = Instance.new("ImageLabel")
- ImageLabel5 = Instance.new("ImageLabel")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- ParticleEmitter8 = Instance.new("ParticleEmitter")
- ParticleEmitter9 = Instance.new("ParticleEmitter")
- BillboardGui10 = Instance.new("BillboardGui")
- ImageLabel11 = Instance.new("ImageLabel")
- ImageLabel12 = Instance.new("ImageLabel")
- ImageLabel13 = Instance.new("ImageLabel")
- ImageLabel14 = Instance.new("ImageLabel")
- ImageLabel15 = Instance.new("ImageLabel")
- LocalScript16 = Instance.new("LocalScript")
- UnionOperation17 = Instance.new("UnionOperation")
- ParticleEmitter18 = Instance.new("ParticleEmitter")
- ParticleEmitter19 = Instance.new("ParticleEmitter")
- ParticleEmitter20 = Instance.new("ParticleEmitter")
- ParticleEmitter21 = Instance.new("ParticleEmitter")
- BillboardGui22 = Instance.new("BillboardGui")
- ImageLabel23 = Instance.new("ImageLabel")
- ImageLabel24 = Instance.new("ImageLabel")
- ImageLabel25 = Instance.new("ImageLabel")
- ImageLabel26 = Instance.new("ImageLabel")
- ImageLabel27 = Instance.new("ImageLabel")
- LocalScript28 = Instance.new("LocalScript")
- Script29 = Instance.new("Script")
- Script30 = Instance.new("Script")
- LocalScript31 = Instance.new("LocalScript")
- Part32 = Instance.new("Part")
- SpecialMesh33 = Instance.new("SpecialMesh")
- Sound34 = Instance.new("Sound")
- ParticleEmitter35 = Instance.new("ParticleEmitter")
- ParticleEmitter36 = Instance.new("ParticleEmitter")
- ParticleEmitter37 = Instance.new("ParticleEmitter")
- ParticleEmitter38 = Instance.new("ParticleEmitter")
- Part39 = Instance.new("Part")
- SpecialMesh40 = Instance.new("SpecialMesh")
- Sound41 = Instance.new("Sound")
- Tool42 = Instance.new("Tool")
- UnionOperation43 = Instance.new("UnionOperation")
- ParticleEmitter44 = Instance.new("ParticleEmitter")
- ParticleEmitter45 = Instance.new("ParticleEmitter")
- ParticleEmitter46 = Instance.new("ParticleEmitter")
- ParticleEmitter47 = Instance.new("ParticleEmitter")
- BillboardGui48 = Instance.new("BillboardGui")
- ImageLabel49 = Instance.new("ImageLabel")
- ImageLabel50 = Instance.new("ImageLabel")
- ImageLabel51 = Instance.new("ImageLabel")
- ImageLabel52 = Instance.new("ImageLabel")
- ImageLabel53 = Instance.new("ImageLabel")
- LocalScript54 = Instance.new("LocalScript")
- Part55 = Instance.new("Part")
- SpecialMesh56 = Instance.new("SpecialMesh")
- Sound57 = Instance.new("Sound")
- Part58 = Instance.new("Part")
- SpecialMesh59 = Instance.new("SpecialMesh")
- Sound60 = Instance.new("Sound")
- ParticleEmitter61 = Instance.new("ParticleEmitter")
- ParticleEmitter62 = Instance.new("ParticleEmitter")
- ParticleEmitter63 = Instance.new("ParticleEmitter")
- ParticleEmitter64 = Instance.new("ParticleEmitter")
- Script65 = Instance.new("Script")
- Script66 = Instance.new("Script")
- LocalScript67 = Instance.new("LocalScript")
- LocalScript54.Name = "lineofsight"
- LocalScript54.Parent = BillboardGui48
- table.insert(cors,sandbox(LocalScript54,function()
- wait(2)
- local light = script.Parent.Adornee
- local player = script.Parent.Parent.Parent.Character.Head
- local p = script.Parent
- function fadegui(guis, start, value, rate, frame, text, image)
- for i = 1, rate do
- local step = i
- for g = 1, #guis do
- local increment = (value[g] - start[g])/rate
- if frame then
- guis[g].BackgroundTransparency = start[g] + increment*step
- end
- if string.sub(guis[g].ClassName,1,4) == "Text" and text then
- guis[g].TextTransparency = increment*step + start[g]
- end
- if string.sub(guis[g].ClassName,1,5) == "Image" and image then
- guis[g].ImageTransparency = increment*step + start[g]
- end
- end
- wait(1/60)
- end
- end
- while true do
- wait(0.1)
- local mag = (player.Position - light.Position).magnitude
- local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
- local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
- if mag < 999 then
- if block ~= light and p.Enabled then
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,0)
- table.insert(value,#value+1,1)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 4, false, false, true)
- p.Enabled = false
- elseif block == light and not p.Enabled then
- p.Enabled = true
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,1)
- table.insert(value,#value+1,0)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 3, false, false, true)
- end
- else
- p.Enabled = false
- end
- end
- end))
- ImageLabel51.Name = "glow"
- ImageLabel51.Parent = BillboardGui48
- ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
- ImageLabel51.Transparency = 1
- ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
- ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BackgroundTransparency = 1
- ImageLabel51.BorderColor = BrickColor.new("New Yeller")
- ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BorderSizePixel = 0
- ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
- ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel51.ImageTransparency = 0.10000000149012
- ImageLabel52.Name = "hdr"
- ImageLabel52.Parent = BillboardGui48
- ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel52.Transparency = 1
- ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BackgroundTransparency = 1
- ImageLabel52.BorderColor = BrickColor.new("New Yeller")
- ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BorderSizePixel = 0
- ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel52.ImageTransparency = 0.10000000149012
- ImageLabel53.Name = "hdr"
- ImageLabel53.Parent = BillboardGui48
- ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel53.Transparency = 1
- ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BackgroundTransparency = 1
- ImageLabel53.BorderColor = BrickColor.new("New Yeller")
- ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BorderSizePixel = 0
- ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel53.ImageTransparency = 0.10000000149012
- ImageLabel49.Name = "hflare"
- ImageLabel49.Parent = BillboardGui48
- ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
- ImageLabel49.Transparency = 1
- ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
- ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BackgroundTransparency = 1
- ImageLabel49.BorderColor = BrickColor.new("New Yeller")
- ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BorderSizePixel = 0
- ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel49.ImageTransparency = 0.10000000149012
- ImageLabel50.Name = "hflare"
- ImageLabel50.Parent = BillboardGui48
- ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
- ImageLabel50.Transparency = 1
- ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
- ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BackgroundTransparency = 1
- ImageLabel50.BorderColor = BrickColor.new("New Yeller")
- ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BorderSizePixel = 0
- ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel50.ImageTransparency = 0.10000000149012
- ParticleEmitter47.Name = "Bubble"
- ParticleEmitter47.Parent = UnionOperation43
- ParticleEmitter47.Speed = NumberRange.new(0, 0)
- ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
- ParticleEmitter47.LightEmission = 1
- ParticleEmitter47.Texture = "rbxassetid://1084955488"
- ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter47.ZOffset = 3
- ParticleEmitter47.Size = NumberSequence.new(4,6,10)
- ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter47.LockedToPart = true
- ParticleEmitter47.Rate = 6
- ParticleEmitter46.Name = "Glow"
- ParticleEmitter46.Parent = UnionOperation43
- ParticleEmitter46.Speed = NumberRange.new(0, 0)
- ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter46.LightEmission = 1
- ParticleEmitter46.Texture = "rbxassetid://867619398"
- ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter46.Size = NumberSequence.new(3,3)
- ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter46.LockedToPart = true
- ParticleEmitter46.Rate = 4
- ParticleEmitter45.Name = "Rays"
- ParticleEmitter45.Parent = UnionOperation43
- ParticleEmitter45.Speed = NumberRange.new(0, 0)
- ParticleEmitter45.Rotation = NumberRange.new(120, 240)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter45.LightEmission = 1
- ParticleEmitter45.Texture = "rbxassetid://1053548563"
- 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)
- ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
- ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter45.LockedToPart = true
- ParticleEmitter45.Rate = 4
- ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
- ParticleEmitter44.Name = "Rays"
- ParticleEmitter44.Parent = UnionOperation43
- ParticleEmitter44.Speed = NumberRange.new(0, 0)
- ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter44.LightEmission = 1
- ParticleEmitter44.Texture = "rbxassetid://1084975295"
- ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
- 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)
- ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter44.LockedToPart = true
- ParticleEmitter44.Rate = 4
- ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
- BillboardGui48.Name = "barlight2"
- BillboardGui48.Parent = UnionOperation43
- BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
- BillboardGui48.AlwaysOnTop = true
- ImageLabel49.Name = "hflare"
- ImageLabel49.Parent = BillboardGui48
- ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
- ImageLabel49.Transparency = 1
- ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
- ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BackgroundTransparency = 1
- ImageLabel49.BorderColor = BrickColor.new("New Yeller")
- ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BorderSizePixel = 0
- ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel49.ImageTransparency = 0.10000000149012
- ImageLabel50.Name = "hflare"
- ImageLabel50.Parent = BillboardGui48
- ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
- ImageLabel50.Transparency = 1
- ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
- ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BackgroundTransparency = 1
- ImageLabel50.BorderColor = BrickColor.new("New Yeller")
- ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BorderSizePixel = 0
- ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel50.ImageTransparency = 0.10000000149012
- ImageLabel51.Name = "glow"
- ImageLabel51.Parent = BillboardGui48
- ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
- ImageLabel51.Transparency = 1
- ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
- ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BackgroundTransparency = 1
- ImageLabel51.BorderColor = BrickColor.new("New Yeller")
- ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BorderSizePixel = 0
- ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
- ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel51.ImageTransparency = 0.10000000149012
- ImageLabel52.Name = "hdr"
- ImageLabel52.Parent = BillboardGui48
- ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel52.Transparency = 1
- ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BackgroundTransparency = 1
- ImageLabel52.BorderColor = BrickColor.new("New Yeller")
- ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BorderSizePixel = 0
- ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel52.ImageTransparency = 0.10000000149012
- ImageLabel53.Name = "hdr"
- ImageLabel53.Parent = BillboardGui48
- ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel53.Transparency = 1
- ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BackgroundTransparency = 1
- ImageLabel53.BorderColor = BrickColor.new("New Yeller")
- ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BorderSizePixel = 0
- ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel53.ImageTransparency = 0.10000000149012
- LocalScript54.Name = "lineofsight"
- LocalScript54.Parent = BillboardGui48
- table.insert(cors,sandbox(LocalScript54,function()
- wait(2)
- local light = script.Parent.Adornee
- local player = script.Parent.Parent.Parent.Character.Head
- local p = script.Parent
- function fadegui(guis, start, value, rate, frame, text, image)
- for i = 1, rate do
- local step = i
- for g = 1, #guis do
- local increment = (value[g] - start[g])/rate
- if frame then
- guis[g].BackgroundTransparency = start[g] + increment*step
- end
- if string.sub(guis[g].ClassName,1,4) == "Text" and text then
- guis[g].TextTransparency = increment*step + start[g]
- end
- if string.sub(guis[g].ClassName,1,5) == "Image" and image then
- guis[g].ImageTransparency = increment*step + start[g]
- end
- end
- wait(1/60)
- end
- end
- while true do
- wait(0.1)
- local mag = (player.Position - light.Position).magnitude
- local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
- local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
- if mag < 999 then
- if block ~= light and p.Enabled then
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,0)
- table.insert(value,#value+1,1)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 4, false, false, true)
- p.Enabled = false
- elseif block == light and not p.Enabled then
- p.Enabled = true
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,1)
- table.insert(value,#value+1,0)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 3, false, false, true)
- end
- else
- p.Enabled = false
- end
- end
- end))
- UnionOperation43.Name = "Apple"
- UnionOperation43.Parent = Tool42
- UnionOperation43.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation43.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- UnionOperation43.Color = Color3.new(0.960784, 0.803922, 0.188235)
- UnionOperation43.Size = Vector3.new(0.993667603, 1.00000012, 0.998377323)
- UnionOperation43.Anchored = true
- UnionOperation43.BrickColor = BrickColor.new("Bright yellow")
- UnionOperation43.CanCollide = false
- UnionOperation43.Material = Enum.Material.SmoothPlastic
- UnionOperation43.Reflectance = 0.15000000596046
- UnionOperation43.brickColor = BrickColor.new("Bright yellow")
- ParticleEmitter44.Name = "Rays"
- ParticleEmitter44.Parent = UnionOperation43
- ParticleEmitter44.Speed = NumberRange.new(0, 0)
- ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter44.LightEmission = 1
- ParticleEmitter44.Texture = "rbxassetid://1084975295"
- ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
- 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)
- ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter44.LockedToPart = true
- ParticleEmitter44.Rate = 4
- ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
- ParticleEmitter45.Name = "Rays"
- ParticleEmitter45.Parent = UnionOperation43
- ParticleEmitter45.Speed = NumberRange.new(0, 0)
- ParticleEmitter45.Rotation = NumberRange.new(120, 240)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter45.LightEmission = 1
- ParticleEmitter45.Texture = "rbxassetid://1053548563"
- 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)
- ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
- ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter45.LockedToPart = true
- ParticleEmitter45.Rate = 4
- ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
- ParticleEmitter46.Name = "Glow"
- ParticleEmitter46.Parent = UnionOperation43
- ParticleEmitter46.Speed = NumberRange.new(0, 0)
- ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter46.LightEmission = 1
- ParticleEmitter46.Texture = "rbxassetid://867619398"
- ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter46.Size = NumberSequence.new(3,3)
- ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter46.LockedToPart = true
- ParticleEmitter46.Rate = 4
- ParticleEmitter47.Name = "Bubble"
- ParticleEmitter47.Parent = UnionOperation43
- ParticleEmitter47.Speed = NumberRange.new(0, 0)
- ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
- ParticleEmitter47.LightEmission = 1
- ParticleEmitter47.Texture = "rbxassetid://1084955488"
- ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter47.ZOffset = 3
- ParticleEmitter47.Size = NumberSequence.new(4,6,10)
- ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter47.LockedToPart = true
- ParticleEmitter47.Rate = 6
- BillboardGui48.Name = "barlight2"
- BillboardGui48.Parent = UnionOperation43
- BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
- BillboardGui48.AlwaysOnTop = true
- ImageLabel49.Name = "hflare"
- ImageLabel49.Parent = BillboardGui48
- ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
- ImageLabel49.Transparency = 1
- ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
- ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BackgroundTransparency = 1
- ImageLabel49.BorderColor = BrickColor.new("New Yeller")
- ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BorderSizePixel = 0
- ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel49.ImageTransparency = 0.10000000149012
- ImageLabel50.Name = "hflare"
- ImageLabel50.Parent = BillboardGui48
- ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
- ImageLabel50.Transparency = 1
- ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
- ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BackgroundTransparency = 1
- ImageLabel50.BorderColor = BrickColor.new("New Yeller")
- ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BorderSizePixel = 0
- ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel50.ImageTransparency = 0.10000000149012
- ImageLabel51.Name = "glow"
- ImageLabel51.Parent = BillboardGui48
- ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
- ImageLabel51.Transparency = 1
- ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
- ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BackgroundTransparency = 1
- ImageLabel51.BorderColor = BrickColor.new("New Yeller")
- ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BorderSizePixel = 0
- ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
- ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel51.ImageTransparency = 0.10000000149012
- ImageLabel52.Name = "hdr"
- ImageLabel52.Parent = BillboardGui48
- ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel52.Transparency = 1
- ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BackgroundTransparency = 1
- ImageLabel52.BorderColor = BrickColor.new("New Yeller")
- ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BorderSizePixel = 0
- ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel52.ImageTransparency = 0.10000000149012
- ImageLabel53.Name = "hdr"
- ImageLabel53.Parent = BillboardGui48
- ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel53.Transparency = 1
- ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BackgroundTransparency = 1
- ImageLabel53.BorderColor = BrickColor.new("New Yeller")
- ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BorderSizePixel = 0
- ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel53.ImageTransparency = 0.10000000149012
- LocalScript54.Name = "lineofsight"
- LocalScript54.Parent = BillboardGui48
- table.insert(cors,sandbox(LocalScript54,function()
- wait(2)
- local light = script.Parent.Adornee
- local player = script.Parent.Parent.Parent.Character.Head
- local p = script.Parent
- function fadegui(guis, start, value, rate, frame, text, image)
- for i = 1, rate do
- local step = i
- for g = 1, #guis do
- local increment = (value[g] - start[g])/rate
- if frame then
- guis[g].BackgroundTransparency = start[g] + increment*step
- end
- if string.sub(guis[g].ClassName,1,4) == "Text" and text then
- guis[g].TextTransparency = increment*step + start[g]
- end
- if string.sub(guis[g].ClassName,1,5) == "Image" and image then
- guis[g].ImageTransparency = increment*step + start[g]
- end
- end
- wait(1/60)
- end
- end
- while true do
- wait(0.1)
- local mag = (player.Position - light.Position).magnitude
- local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
- local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
- if mag < 999 then
- if block ~= light and p.Enabled then
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,0)
- table.insert(value,#value+1,1)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 4, false, false, true)
- p.Enabled = false
- elseif block == light and not p.Enabled then
- p.Enabled = true
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,1)
- table.insert(value,#value+1,0)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 3, false, false, true)
- end
- else
- p.Enabled = false
- end
- end
- end))
- Script66.Name = "MindCraze"
- Script66.Parent = Tool42
- table.insert(cors,sandbox(Script66,function()
- local character = script.Parent
- if character:findFirstChild("Animate") then
- character.Animate:remove()
- else
- end
- character.Humanoid.PlatformStand = true
- while true do
- wait(0.1)
- character.Torso["Right Shoulder"].MaxVelocity = 0.8
- character.Torso["Right Shoulder"].DesiredAngle = math.random(-2,2)
- character.Torso["Left Shoulder"].MaxVelocity = 0.8
- character.Torso["Left Shoulder"].DesiredAngle = math.random(-2,2)
- character.Torso["Left Hip"].MaxVelocity = 0.8
- character.Torso["Right Hip"].DesiredAngle = math.random(-2,2)
- character.Torso["Neck"].MaxVelocity = 0.8
- character.Torso["Neck"].DesiredAngle = math.random(-2,2)
- local e = math.random(0,5)
- character.Humanoid.Health = character.Humanoid.Health - e
- end
- end))
- Script65.Name = "Weld"
- Script65.Parent = Tool42
- table.insert(cors,sandbox(Script65,function()
- function weld()
- local parts,last = {}
- local function scan(parent)
- for _,v in pairs(parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- if (last) then
- local w = Instance.new("Weld")
- w.Name = ("%s_Weld"):format(v.Name)
- w.Part0,w.Part1 = last,v
- w.C0 = last.CFrame:inverse()
- w.C1 = v.CFrame:inverse()
- w.Parent = last
- end
- last = v
- table.insert(parts,v)
- end
- scan(v)
- end
- end
- scan(script.Parent)
- for _,v in pairs(parts) do
- v.Anchored = false
- end
- end
- weld()
- script:Remove()
- end))
- LocalScript67.Name = "Local Gui"
- LocalScript67.Parent = Tool42
- table.insert(cors,sandbox(LocalScript67,function()
- local Tool = script.Parent;
- local ven = false
- local mesh = Tool.Handle.Mesh
- local dis = 0
- enabled = true
- function onActivated()
- ven = true
- mesh.Parent.Transparency = 0.4
- while ven == true do
- wait(0.01)
- mesh.Scale = mesh.Scale - Vector3.new(1,1,1)
- dis = dis + 1
- end
- end
- function onDeactivated()
- Tool.Handle.Sound:play()
- mesh.Parent.Transparency = 0
- ye = math.floor(dis/5)
- while ye > 0 do
- wait(0.01)
- ye = ye - 1
- mesh.Scale = mesh.Scale + Vector3.new(5,5,5)
- end
- ven = false
- z = game.Workspace:GetChildren()
- for i= 1, #z do
- 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
- local e = Tool.MindCraze:clone()
- e:clone().Parent = z[i]
- else
- end
- end
- wait(0.1)
- mesh.Parent.Transparency = 0.001
- mesh.Scale = Vector3.new(1,1,1)
- dis = 0
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- end
- Tool.Equipped:connect(onEquippedLocal)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Deactivated:connect(onDeactivated)
- end))
- Part58.Name = "Core"
- Part58.Parent = Tool42
- Part58.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part58.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- Part58.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part58.Transparency = 0.69999998807907
- Part58.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- Part58.Anchored = true
- Part58.BottomSurface = Enum.SurfaceType.Smooth
- Part58.BrickColor = BrickColor.new("Bright yellow")
- Part58.CanCollide = false
- Part58.Material = Enum.Material.Neon
- Part58.TopSurface = Enum.SurfaceType.Smooth
- Part58.brickColor = BrickColor.new("Bright yellow")
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.formFactor = Enum.FormFactor.Custom
- SpecialMesh59.Parent = Part58
- SpecialMesh59.TextureId = "rbxgameasset://Images/sphere"
- SpecialMesh59.MeshType = Enum.MeshType.FileMesh
- Sound60.Parent = Part58
- Sound60.SoundId = "http://www.roblox.com/asset/?id= 2974000"
- ParticleEmitter61.Name = "Rays"
- ParticleEmitter61.Parent = Part58
- ParticleEmitter61.Speed = NumberRange.new(0, 0)
- ParticleEmitter61.Rotation = NumberRange.new(120, 240)
- ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter61.LightEmission = 1
- ParticleEmitter61.Texture = "rbxassetid://1053548563"
- 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)
- ParticleEmitter61.Size = NumberSequence.new(0,5.4999995231628)
- ParticleEmitter61.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter61.LockedToPart = true
- ParticleEmitter61.Rate = 4
- ParticleEmitter61.RotSpeed = NumberRange.new(-15, 15)
- ParticleEmitter62.Name = "Rays"
- ParticleEmitter62.Parent = Part58
- ParticleEmitter62.Speed = NumberRange.new(0, 0)
- ParticleEmitter62.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter62.LightEmission = 1
- ParticleEmitter62.Texture = "rbxassetid://1084975295"
- ParticleEmitter62.Transparency = NumberSequence.new(1,0.69999998807907,1)
- 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)
- ParticleEmitter62.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter62.LockedToPart = true
- ParticleEmitter62.Rate = 4
- ParticleEmitter62.RotSpeed = NumberRange.new(-50, 50)
- ParticleEmitter63.Name = "Glow"
- ParticleEmitter63.Parent = Part58
- ParticleEmitter63.Speed = NumberRange.new(0, 0)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter63.LightEmission = 1
- ParticleEmitter63.Texture = "rbxassetid://867619398"
- ParticleEmitter63.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter63.Size = NumberSequence.new(3,3)
- ParticleEmitter63.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter63.LockedToPart = true
- ParticleEmitter63.Rate = 4
- ParticleEmitter64.Name = "Bubble"
- ParticleEmitter64.Parent = Part58
- ParticleEmitter64.Speed = NumberRange.new(0, 0)
- ParticleEmitter64.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
- ParticleEmitter64.LightEmission = 1
- ParticleEmitter64.Texture = "rbxassetid://1084955488"
- ParticleEmitter64.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter64.ZOffset = 3
- ParticleEmitter64.Size = NumberSequence.new(4,6,10)
- ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter64.LockedToPart = true
- ParticleEmitter64.Rate = 6
- Part55.Name = "Handle"
- Part55.Parent = Tool42
- Part55.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part55.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- Part55.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part55.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- Part55.Anchored = true
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.BrickColor = BrickColor.new("Bright yellow")
- Part55.CanCollide = false
- Part55.Material = Enum.Material.Neon
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.brickColor = BrickColor.new("Bright yellow")
- Part55.FormFactor = Enum.FormFactor.Custom
- Part55.formFactor = Enum.FormFactor.Custom
- SpecialMesh56.Parent = Part55
- SpecialMesh56.MeshType = Enum.MeshType.Sphere
- Sound57.Parent = Part55
- Sound57.SoundId = "http://www.roblox.com/asset/?id= 2974000"
- Tool42.Name = "Apple of Eden"
- Tool42.Parent = mas
- Tool42.Grip = CFrame.new(0, 0, 0.300000012, 0.89442718, 0, -0.44721359, 0, 1, 0, 0.44721359, -0, 0.89442718)
- Tool42.GripForward = Vector3.new(0.44721359, -0, -0.89442718)
- Tool42.GripPos = Vector3.new(0, 0, 0.300000012)
- Tool42.GripRight = Vector3.new(0.89442718, 0, 0.44721359)
- Tool42.ToolTip = "Unmeasurable Power in the form of an Apple"
- UnionOperation43.Name = "Apple"
- UnionOperation43.Parent = Tool42
- UnionOperation43.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation43.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- UnionOperation43.Color = Color3.new(0.960784, 0.803922, 0.188235)
- UnionOperation43.Size = Vector3.new(0.993667603, 1.00000012, 0.998377323)
- UnionOperation43.Anchored = true
- UnionOperation43.BrickColor = BrickColor.new("Bright yellow")
- UnionOperation43.CanCollide = false
- UnionOperation43.Material = Enum.Material.SmoothPlastic
- UnionOperation43.Reflectance = 0.15000000596046
- UnionOperation43.brickColor = BrickColor.new("Bright yellow")
- ParticleEmitter44.Name = "Rays"
- ParticleEmitter44.Parent = UnionOperation43
- ParticleEmitter44.Speed = NumberRange.new(0, 0)
- ParticleEmitter44.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter44.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter44.LightEmission = 1
- ParticleEmitter44.Texture = "rbxassetid://1084975295"
- ParticleEmitter44.Transparency = NumberSequence.new(1,0.69999998807907,1)
- 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)
- ParticleEmitter44.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter44.LockedToPart = true
- ParticleEmitter44.Rate = 4
- ParticleEmitter44.RotSpeed = NumberRange.new(-50, 50)
- ParticleEmitter45.Name = "Rays"
- ParticleEmitter45.Parent = UnionOperation43
- ParticleEmitter45.Speed = NumberRange.new(0, 0)
- ParticleEmitter45.Rotation = NumberRange.new(120, 240)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter45.LightEmission = 1
- ParticleEmitter45.Texture = "rbxassetid://1053548563"
- 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)
- ParticleEmitter45.Size = NumberSequence.new(0,5.4999995231628)
- ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter45.LockedToPart = true
- ParticleEmitter45.Rate = 4
- ParticleEmitter45.RotSpeed = NumberRange.new(-15, 15)
- ParticleEmitter46.Name = "Glow"
- ParticleEmitter46.Parent = UnionOperation43
- ParticleEmitter46.Speed = NumberRange.new(0, 0)
- ParticleEmitter46.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter46.LightEmission = 1
- ParticleEmitter46.Texture = "rbxassetid://867619398"
- ParticleEmitter46.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter46.Size = NumberSequence.new(3,3)
- ParticleEmitter46.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter46.LockedToPart = true
- ParticleEmitter46.Rate = 4
- ParticleEmitter47.Name = "Bubble"
- ParticleEmitter47.Parent = UnionOperation43
- ParticleEmitter47.Speed = NumberRange.new(0, 0)
- ParticleEmitter47.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
- ParticleEmitter47.LightEmission = 1
- ParticleEmitter47.Texture = "rbxassetid://1084955488"
- ParticleEmitter47.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter47.ZOffset = 3
- ParticleEmitter47.Size = NumberSequence.new(4,6,10)
- ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter47.LockedToPart = true
- ParticleEmitter47.Rate = 6
- BillboardGui48.Name = "barlight2"
- BillboardGui48.Parent = UnionOperation43
- BillboardGui48.Size = UDim2.new(1.75, 0, 1.75, 0)
- BillboardGui48.AlwaysOnTop = true
- ImageLabel49.Name = "hflare"
- ImageLabel49.Parent = BillboardGui48
- ImageLabel49.Position = UDim2.new(-4, 0, -1, 0)
- ImageLabel49.Transparency = 1
- ImageLabel49.Size = UDim2.new(9, 0, 3, 0)
- ImageLabel49.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel49.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BackgroundTransparency = 1
- ImageLabel49.BorderColor = BrickColor.new("New Yeller")
- ImageLabel49.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel49.BorderSizePixel = 0
- ImageLabel49.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel49.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel49.ImageTransparency = 0.10000000149012
- ImageLabel50.Name = "hflare"
- ImageLabel50.Parent = BillboardGui48
- ImageLabel50.Position = UDim2.new(-12, 0, -4, 0)
- ImageLabel50.Transparency = 1
- ImageLabel50.Size = UDim2.new(25, 0, 9, 0)
- ImageLabel50.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BackgroundTransparency = 1
- ImageLabel50.BorderColor = BrickColor.new("New Yeller")
- ImageLabel50.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel50.BorderSizePixel = 0
- ImageLabel50.Image = "http://www.roblox.com/asset/?id=117623699"
- ImageLabel50.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel50.ImageTransparency = 0.10000000149012
- ImageLabel51.Name = "glow"
- ImageLabel51.Parent = BillboardGui48
- ImageLabel51.Position = UDim2.new(-5, 0, -5, 0)
- ImageLabel51.Transparency = 1
- ImageLabel51.Size = UDim2.new(11, 0, 11, 0)
- ImageLabel51.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel51.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BackgroundTransparency = 1
- ImageLabel51.BorderColor = BrickColor.new("New Yeller")
- ImageLabel51.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel51.BorderSizePixel = 0
- ImageLabel51.Image = "http://www.roblox.com/asset/?id=115660209"
- ImageLabel51.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel51.ImageTransparency = 0.10000000149012
- ImageLabel52.Name = "hdr"
- ImageLabel52.Parent = BillboardGui48
- ImageLabel52.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel52.Transparency = 1
- ImageLabel52.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel52.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel52.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BackgroundTransparency = 1
- ImageLabel52.BorderColor = BrickColor.new("New Yeller")
- ImageLabel52.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel52.BorderSizePixel = 0
- ImageLabel52.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel52.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel52.ImageTransparency = 0.10000000149012
- ImageLabel53.Name = "hdr"
- ImageLabel53.Parent = BillboardGui48
- ImageLabel53.Position = UDim2.new(-30, 0, -30, 0)
- ImageLabel53.Transparency = 1
- ImageLabel53.Size = UDim2.new(61, 0, 61, 0)
- ImageLabel53.BackgroundColor = BrickColor.new("New Yeller")
- ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BackgroundTransparency = 1
- ImageLabel53.BorderColor = BrickColor.new("New Yeller")
- ImageLabel53.BorderColor3 = Color3.new(1, 1, 0)
- ImageLabel53.BorderSizePixel = 0
- ImageLabel53.Image = "http://www.roblox.com/asset/?id=116194447"
- ImageLabel53.ImageColor3 = Color3.new(1, 0.866667, 0.0941177)
- ImageLabel53.ImageTransparency = 0.10000000149012
- LocalScript54.Name = "lineofsight"
- LocalScript54.Parent = BillboardGui48
- table.insert(cors,sandbox(LocalScript54,function()
- wait(2)
- local light = script.Parent.Adornee
- local player = script.Parent.Parent.Parent.Character.Head
- local p = script.Parent
- function fadegui(guis, start, value, rate, frame, text, image)
- for i = 1, rate do
- local step = i
- for g = 1, #guis do
- local increment = (value[g] - start[g])/rate
- if frame then
- guis[g].BackgroundTransparency = start[g] + increment*step
- end
- if string.sub(guis[g].ClassName,1,4) == "Text" and text then
- guis[g].TextTransparency = increment*step + start[g]
- end
- if string.sub(guis[g].ClassName,1,5) == "Image" and image then
- guis[g].ImageTransparency = increment*step + start[g]
- end
- end
- wait(1/60)
- end
- end
- while true do
- wait(0.1)
- local mag = (player.Position - light.Position).magnitude
- local ray = Ray.new(player.Position, (light.Position - player.Position).unit*999)
- local block = workspace:FindPartOnRay(ray, workspace.CurrentCamera)
- if mag < 999 then
- if block ~= light and p.Enabled then
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,0)
- table.insert(value,#value+1,1)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 4, false, false, true)
- p.Enabled = false
- elseif block == light and not p.Enabled then
- p.Enabled = true
- local start = {}
- local value = {}
- local guis = {}
- for i, v in pairs(p:GetChildren()) do
- if v.ClassName ~= "LocalScript" then
- table.insert(start,#start+1,1)
- table.insert(value,#value+1,0)
- table.insert(guis,#guis+1,v)
- end
- end
- fadegui(guis, start, value, 3, false, false, true)
- end
- else
- p.Enabled = false
- end
- end
- end))
- Part55.Name = "Handle"
- Part55.Parent = Tool42
- Part55.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part55.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- Part55.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part55.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- Part55.Anchored = true
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.BrickColor = BrickColor.new("Bright yellow")
- Part55.CanCollide = false
- Part55.Material = Enum.Material.Neon
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.brickColor = BrickColor.new("Bright yellow")
- Part55.FormFactor = Enum.FormFactor.Custom
- Part55.formFactor = Enum.FormFactor.Custom
- SpecialMesh56.Parent = Part55
- SpecialMesh56.MeshType = Enum.MeshType.Sphere
- Sound57.Parent = Part55
- Sound57.SoundId = "http://www.roblox.com/asset/?id= 2974000"
- Part58.Name = "Core"
- Part58.Parent = Tool42
- Part58.CFrame = CFrame.new(128.771667, 2.30999804, -65.8542404, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part58.Position = Vector3.new(128.771667, 2.30999804, -65.8542404)
- Part58.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part58.Transparency = 0.69999998807907
- Part58.Size = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- Part58.Anchored = true
- Part58.BottomSurface = Enum.SurfaceType.Smooth
- Part58.BrickColor = BrickColor.new("Bright yellow")
- Part58.CanCollide = false
- Part58.Material = Enum.Material.Neon
- Part58.TopSurface = Enum.SurfaceType.Smooth
- Part58.brickColor = BrickColor.new("Bright yellow")
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.formFactor = Enum.FormFactor.Custom
- SpecialMesh59.Parent = Part58
- SpecialMesh59.TextureId = "rbxgameasset://Images/sphere"
- SpecialMesh59.MeshType = Enum.MeshType.FileMesh
- Sound60.Parent = Part58
- Sound60.SoundId = "http://www.roblox.com/asset/?id= 2974000"
- ParticleEmitter61.Name = "Rays"
- ParticleEmitter61.Parent = Part58
- ParticleEmitter61.Speed = NumberRange.new(0, 0)
- ParticleEmitter61.Rotation = NumberRange.new(120, 240)
- ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter61.LightEmission = 1
- ParticleEmitter61.Texture = "rbxassetid://1053548563"
- 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)
- ParticleEmitter61.Size = NumberSequence.new(0,5.4999995231628)
- ParticleEmitter61.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter61.LockedToPart = true
- ParticleEmitter61.Rate = 4
- ParticleEmitter61.RotSpeed = NumberRange.new(-15, 15)
- ParticleEmitter62.Name = "Rays"
- ParticleEmitter62.Parent = Part58
- ParticleEmitter62.Speed = NumberRange.new(0, 0)
- ParticleEmitter62.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter62.LightEmission = 1
- ParticleEmitter62.Texture = "rbxassetid://1084975295"
- ParticleEmitter62.Transparency = NumberSequence.new(1,0.69999998807907,1)
- 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)
- ParticleEmitter62.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter62.LockedToPart = true
- ParticleEmitter62.Rate = 4
- ParticleEmitter62.RotSpeed = NumberRange.new(-50, 50)
- ParticleEmitter63.Name = "Glow"
- ParticleEmitter63.Parent = Part58
- ParticleEmitter63.Speed = NumberRange.new(0, 0)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0.784314, 0),Color3.new(1, 0.784314, 0))
- ParticleEmitter63.LightEmission = 1
- ParticleEmitter63.Texture = "rbxassetid://867619398"
- ParticleEmitter63.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter63.Size = NumberSequence.new(3,3)
- ParticleEmitter63.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter63.LockedToPart = true
- ParticleEmitter63.Rate = 4
- ParticleEmitter64.Name = "Bubble"
- ParticleEmitter64.Parent = Part58
- ParticleEmitter64.Speed = NumberRange.new(0, 0)
- ParticleEmitter64.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.815686, 0.254902),Color3.new(1, 1, 1))
- ParticleEmitter64.LightEmission = 1
- ParticleEmitter64.Texture = "rbxassetid://1084955488"
- ParticleEmitter64.Transparency = NumberSequence.new(1,0.69999998807907,1)
- ParticleEmitter64.ZOffset = 3
- ParticleEmitter64.Size = NumberSequence.new(4,6,10)
- ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter64.LockedToPart = true
- ParticleEmitter64.Rate = 6
- Script65.Name = "Weld"
- Script65.Parent = Tool42
- table.insert(cors,sandbox(Script65,function()
- function weld()
- local parts,last = {}
- local function scan(parent)
- for _,v in pairs(parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- if (last) then
- local w = Instance.new("Weld")
- w.Name = ("%s_Weld"):format(v.Name)
- w.Part0,w.Part1 = last,v
- w.C0 = last.CFrame:inverse()
- w.C1 = v.CFrame:inverse()
- w.Parent = last
- end
- last = v
- table.insert(parts,v)
- end
- scan(v)
- end
- end
- scan(script.Parent)
- for _,v in pairs(parts) do
- v.Anchored = false
- end
- end
- weld()
- script:Remove()
- end))
- Script66.Name = "MindCraze"
- Script66.Parent = Tool42
- table.insert(cors,sandbox(Script66,function()
- local character = script.Parent
- if character:findFirstChild("Animate") then
- character.Animate:remove()
- else
- end
- character.Humanoid.PlatformStand = true
- while true do
- wait(0.1)
- character.Torso["Right Shoulder"].MaxVelocity = 0.8
- character.Torso["Right Shoulder"].DesiredAngle = math.random(-2,2)
- character.Torso["Left Shoulder"].MaxVelocity = 0.8
- character.Torso["Left Shoulder"].DesiredAngle = math.random(-2,2)
- character.Torso["Left Hip"].MaxVelocity = 0.8
- character.Torso["Right Hip"].DesiredAngle = math.random(-2,2)
- character.Torso["Neck"].MaxVelocity = 0.8
- character.Torso["Neck"].DesiredAngle = math.random(-2,2)
- local e = math.random(0,5)
- character.Humanoid.Health = character.Humanoid.Health - e
- end
- end))
- LocalScript67.Name = "Local Gui"
- LocalScript67.Parent = Tool42
- table.insert(cors,sandbox(LocalScript67,function()
- local Tool = script.Parent;
- local ven = false
- local mesh = Tool.Handle.Mesh
- local dis = 0
- enabled = true
- function onActivated()
- ven = true
- mesh.Parent.Transparency = 0.4
- while ven == true do
- wait(0.01)
- mesh.Scale = mesh.Scale - Vector3.new(1,1,1)
- dis = dis + 1
- end
- end
- function onDeactivated()
- Tool.Handle.Sound:play()
- mesh.Parent.Transparency = 0
- ye = math.floor(dis/5)
- while ye > 0 do
- wait(0.01)
- ye = ye - 1
- mesh.Scale = mesh.Scale + Vector3.new(5,5,5)
- end
- ven = false
- z = game.Workspace:GetChildren()
- for i= 1, #z do
- 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
- local e = Tool.MindCraze:clone()
- e:clone().Parent = z[i]
- else
- end
- end
- wait(0.1)
- mesh.Parent.Transparency = 0.001
- mesh.Scale = Vector3.new(1,1,1)
- dis = 0
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- end
- Tool.Equipped:connect(onEquippedLocal)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Deactivated:connect(onDeactivated)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement