Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- wait(1/30)
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoid = character:WaitForChild("Humanoid")
- local mouse = player:GetMouse()
- local enabled = false
- local bassactive = false
- humanoid.WalkSpeed = 26
- humanoid.MaxHealth = "inf"
- humanoid.Health = "inf"
- --Health
- coroutine.resume(coroutine.create(function()
- while true do
- humanoid.PlatformStand = false
- humanoid.MaxHealth = "inf"
- humanoid.Health = "inf"
- if bassactive == false then
- humanoid.WalkSpeed = 26
- else
- humanoid.WalkSpeed = 100
- end
- wait()
- end
- end))
- for i,v in pairs(character:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- v.BrickColor = BrickColor.new("Institutional white")
- elseif v:IsA("Accessory") then
- v:Destroy()
- end
- end
- --Music
- local music = Instance.new("Sound", character.Torso)
- music.SoundId = 'rbxassetid://1181897442'
- music.Looped = true
- music.Pitch = 0.1
- music:Play()
- --Chat noise
- local chatnoise = Instance.new("Sound", character.Torso)
- chatnoise.SoundId = 'rbxassetid://168143115'
- chatnoise.Pitch = 6
- character.Head.face:Destroy()
- --BASS
- local bassnoise = Instance.new("Sound", character.Torso)
- bassnoise.SoundId = 'rbxassetid://387927244'
- --Text
- local bgui = Instance.new("BillboardGui",character)
- bgui.Size = UDim2.new(0,100,0,40)
- bgui.StudsOffset = Vector3.new(0,2,0)
- bgui.Adornee = character.Head
- local text = Instance.new("TextLabel", bgui)
- text.BackgroundTransparency = 1
- text.BorderSizePixel = 0
- text.Text = "By SlaveDash"
- text.Font = "ArialBold"
- text.FontSize = "Size24"
- text.TextStrokeTransparency = 0.7
- text.TextStrokeColor3 = Color3.new(255,255,255)
- text.TextColor3 = Color3.new(255,255,255)
- text.Size = UDim2.new(1,0,0.5,0)
- player.Chatted:connect(function(chat)
- if enabled == true then
- chat = game:GetService("Chat"):FilterStringForBroadcast(chat, player)
- for i=1,string.len(chat) do
- text.Text = string.sub(chat, 1, i)
- chatnoise:Play()
- wait()
- end
- wait(2)
- text.Text = ""
- end
- end)
- wait(0.2)
- for i=1,10 do
- wait()
- text.Transparency = text.Transparency + (0.05 * i)
- end
- text.Text = ""
- text.FontSize = "Size28"
- for i=1,10 do
- text.Transparency = text.Transparency - (0.05 * i)
- wait()
- end
- --Startup
- local color = Color3.new(0,0,0)
- local folder = Instance.new("Folder", character)
- folder.Name = "Body Parts"
- coroutine.resume(coroutine.create(function()
- while true do
- wait()
- if bassactive == false then
- for i,v in pairs(character:GetChildren()) do
- if v:IsA("Part") then
- local shadow = v:Clone()
- shadow:ClearAllChildren()
- if shadow.Name == "Head" then
- shadow.Size = Vector3.new(1.25,1.25,1.25)
- end
- shadow.CanCollide = false
- shadow.Anchored = true
- shadow.Transparency = 0.95
- shadow.Material = Enum.Material.Neon
- shadow.BrickColor = BrickColor.new("Institutional white")
- shadow.Parent = folder
- game.Debris:AddItem(shadow, 1)
- coroutine.resume(coroutine.create(function()
- for i=1,10 do
- wait()
- shadow.CFrame = shadow.CFrame:lerp(v.CFrame + (Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) * 3), 0.1)
- end
- shadow:Destroy()
- end))
- end
- end
- end
- end
- end))
- local function Chat(texty, enddelay)
- for i=1,string.len(texty) do
- text.Text = string.sub(texty, 1, i)
- chatnoise:Play()
- if string.sub(texty, i, i) == "." then
- wait(0.5)
- elseif string.sub(texty, i, i) == "," then
- wait(0.2)
- end
- wait()
- end
- wait(enddelay)
- text.Text = ""
- end
- for i,v in pairs(character:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- v.BrickColor = BrickColor.new("Institutional white")
- elseif v:IsA("Accessory") then
- v:Destroy()
- end
- end
- if character.Head:FindFirstChild("face") then
- character.Head:FindFirstChild("face"):Destroy()
- end
- --Introducton
- --[[
- wait(1)
- Chat("I'm not me anymore...", 2)
- wait(1)
- Chat("This pain..", 1)
- Chat("This pain welling up inside of me, about to burst like a grenade.", 2)
- Chat("I can't take it anymore.", 1)
- Chat("When will this end?", 1)
- Chat("Why can't I be free?", 1)
- Chat("I want to be free!")
- Chat("I.. I want my freedom back. I want to be young again. Eternal youth is what I want.", 2)
- Chat("But, I won't ever become that, will I?", 2)
- Chat("It hurts...", 2)
- Chat("But it's time to let go.", 3)
- --]]
- local change = Vector3.new(0,0,0)
- --Functions
- local function Mesh(parent,meshtype)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = meshtype
- mesh.Name = "Meshy"
- mesh.Parent = parent
- end
- local function Effect(place, parent)
- local effect = Instance.new("Part")
- effect.Size = Vector3.new(0.4,0.4,0.4)
- effect.Name = "Effect"
- effect.BrickColor = BrickColor.new("Institutional white")
- Mesh(effect, "Sphere")
- effect.CFrame = CFrame.new(place.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))
- effect.Anchored = true
- effect.Material = Enum.Material.Neon
- effect.CanCollide = false
- effect.Parent = parent
- coroutine.resume(coroutine.create(function()
- for i=1,10 do
- effect.Transparency = effect.Transparency + 0.1
- effect.CFrame = effect.CFrame:lerp(place.CFrame, 0.05 * i)
- wait()
- end
- effect:Destroy()
- end))
- end
- --Develop
- for i=1,100 do
- change = change:lerp(Vector3.new(0,1,0), 0.05)
- Effect(character.Torso, character.Torso)
- music.Pitch = change.Y
- , wait()
- end
- music.Pitch = 1
- enabled = true
- local zdown = false
- local function HitEffect(place, parent)
- local hitef = Instance.new("Part", parent)
- hitef.Size = Vector3.new()
- hitef.Anchored = true
- hitef.Shape = "Ball"
- hitef.CanCollide = false
- hitef.Material = Enum.Material.Neon
- hitef.BrickColor = BrickColor.new("Institutional white")
- hitef.CFrame = place
- coroutine.resume(coroutine.create(function()
- for i=1,5 do
- hitef.Transparency = hitef.Transparency + 0.2
- hitef.Size = hitef.Size:lerp(Vector3.new(2,2,2), 0.2)
- wait()
- end
- hitef:Destroy()
- end))
- end
- local function Check(item, range)
- local dist = range
- local hum = nil
- local root = nil
- local scanned = {}
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v:IsA("Model") then
- if v:FindFirstChild("Humanoid") then
- root = v:FindFirstChild("HumanoidRootPart")
- if not root then
- root = v:FindFirstChild("Torso")
- if not root then
- root = v:FindFirstChild("UpperTorso")
- end
- end
- if root then
- table.insert(scanned, 1, v)
- end
- end
- end
- end
- for i,v in pairs(scanned) do
- if v:IsA("Model") and v ~= character then
- hum = v:FindFirstChild("Humanoid")
- root = v:FindFirstChild("HumanoidRootPart")
- if not root then
- root = v:FindFirstChild("Torso")
- if not root then
- root = v:FindFirstChild("UpperTorso")
- end
- end
- if hum and root then
- if (root.Position - item.Position).magnitude < dist then
- dist = (root.Position - item.Position).magnitude
- else
- hum = nil
- root = nil
- end
- end
- end
- end
- if hum and root then
- hum:TakeDamage(17)
- HitEffect(root.CFrame + Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)), character.Torso)
- end
- end
- local function CreateFist(place, parent)
- local fist = Instance.new("Part", parent)
- fist.Size = Vector3.new(1,1,2)
- fist.BrickColor = BrickColor.new("Institutional white")
- fist.Transparency = 0.7
- fist.Material = Enum.Material.Neon
- fist.Anchored = true
- fist.CanCollide = false
- local phase = Vector3.new(0,fist.Transparency, 0)
- fist.CFrame = CFrame.new(place.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))) * CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- Check(fist, 15)
- coroutine.resume(coroutine.create(function()
- for i=1,10 do
- phase = phase:lerp(Vector3.new(0,1,0), 0.05 * i)
- fist.Transparency = phase.Y
- fist.Size = fist.Size:lerp(Vector3.new(0,0,25), 0.1 * i)
- wait()
- end
- fist:Destroy()
- end))
- end
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "z" then
- zdown = false
- end
- end)
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "r" then
- bassnoise:Play()
- humanoid.WalkSpeed = 26
- if character.Torso.Anchored == true then
- bassactive = false
- for i,v in pairs(character:GetChildren()) do --UNANCHOR
- if v:IsA("Part") then
- v.Anchored = false
- end
- end
- else
- bassactive = true
- humanoid.WalkSpeed = 100
- for i,v in pairs(character:GetChildren()) do --ANCHOR
- if v:IsA("Part") then
- v.Anchored = true
- end
- end
- end
- elseif key == "e" then
- character.Torso.CFrame = CFrame.new(mouse.Hit.p + Vector3.new(0,3,0))
- elseif key == "z" then
- zdown = true
- repeat
- CreateFist(character.Torso, character.Torso)
- wait()
- until zdown == false
- end
- end)
Add Comment
Please, Sign In to add comment