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
- wait()
- Player = game.Players.LocalPlayer
- Object = Player.Character.HumanoidRootPart
- Arm1 = Player.Character["Right Arm"]
- PreviousA1 = Arm1.CFrame.p
- Arm2 = Player.Character["Left Arm"]
- PreviousA2 = Arm2.CFrame.p
- Leg1 = Player.Character["Right Leg"]
- PreviousL1 = Leg1.CFrame.p
- Leg2 = Player.Character["Left Leg"]
- PreviousL2 = Leg2.CFrame.p
- Run = game["Run Service"]
- PreviousP = Object.CFrame.p
- Running = false
- Phase = false
- PhaseActive = false
- Morph = false
- MorphActive = false
- Tornado = false
- TornadoRadius = 50
- TornadoActive = false
- Portal = false
- PortalEnd = false
- MaxZ = 0
- MinZ = 0
- LightMaxX =0
- LightMinX = 0
- LightMaxX2 = 0
- LightMinX2 = 0
- LightMaxY =0
- LightMinY = 0
- Rotation = 0
- Length = 0
- Color = BrickColor.Gray()
- PColor = Color3.new(255,255,0)
- PrevPoint1 = nil
- PrevPoint2 = nil
- PrevPoint3 = nil
- PrevPoint4 = nil
- PrevPoint5 = nil
- PrevPoint6 = nil
- PrevPoint7 = nil
- PrevPoint8 = nil
- PrevPoint9 = nil
- PrevPoint10 = nil
- PrevPoint11 = nil
- PrevPoint12 = nil
- angle = 0
- Mouse = Player:GetMouse()
- Player.Character.Humanoid.WalkSpeed = 16
- i = 0
- j = 0
- z = 0
- w = 0
- a = 0
- s = 0
- d = 0
- mouse = game.Players.LocalPlayer:GetMouse()
- player = game.Players.LocalPlayer
- function onKeyDown(key)
- if (key~=nil) then
- key:lower()
- repeat
- if (key == "q") and player.Character.Humanoid.WalkSpeed<766 == true then
- i = 1
- wait(0.001)
- player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed+12.5
- else
- break
- end
- until i == 0
- end
- end
- function onKeyUp(key)
- if (key~=nil) then
- key:lower()
- if (key == "q") and player.Character.Humanoid.WalkSpeed > 766 and z == 0 then
- i = 0
- z = 1
- player.Character.Head.Smoke.Enabled = true
- wait(0.3)
- player.Character.Head.Boom:Play()
- player.Character.Head.Smoke.Enabled = false
- local boom = Instance.new("Explosion")
- boom.BlastPressure = 0
- boom.ExplosionType = "NoCraters"
- boom.Parent = player.Character.Head
- boom.Position = player.Character.Torso.Position
- wait(0.1)
- z = 0
- print("Boom Reloaded")
- elseif (key == "q") then
- i = 0
- end
- end
- end
- function onKeyDown2(key)
- if (key~=nil) then
- key:lower()
- repeat
- if (key == "e") and player.Character.Humanoid.WalkSpeed>=41 == true then
- j = 1
- wait(0.001)
- player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed-12.5
- else
- break
- end
- until j == 0
- end
- end
- function onKeyUp2(key)
- if (key~=nil) then
- key:lower()
- if (key == "e") then
- j = 0
- end
- end
- end
- mouse.KeyDown:connect(onKeyDown)
- mouse.KeyUp:connect(onKeyUp)
- mouse.KeyDown:connect(onKeyDown2)
- mouse.KeyUp:connect(onKeyUp2)
- --------------------------------
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- ----------------colors----------------------
- plr=game:service'Players'.LocalPlayer
- chr=plr.Character
- local ms = plr:GetMouse()
- CV="Bright red"
- local txt = Instance.new("BillboardGui", chr)
- txt.Adornee = chr.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(4, 0, 2.5, 0)
- txt.StudsOffset = Vector3.new(-4, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(3, 0, 0.5, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "SciFi"
- text.TextStrokeColor3 = Color3.new(212/255,175/255,105/255)
- text.Text = "The Flash "
- --------------------------------------
- plr=game:service'Players'.LocalPlayer
- chr=plr.Character
- local ms = plr:GetMouse()
- CV="Bright red"
- local txt = Instance.new("BillboardGui", chr)
- txt.Adornee = chr.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(4, 0, 2.5, 0)
- txt.StudsOffset = Vector3.new(-4, 1.5, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(3, 0, 0.5, 0)
- text.FontSize = "Size24"
- text.TextScaled = false
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "SciFi"
- text.TextStrokeColor3 = Color3.new(70/255,0,0)-- wff
- text.Text = "By bannaboy43"
- ----------------------Clothes-------------------------------
- --[Quicksilver edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
- wait(1 / 60)
- p = game.Players.LocalPlayer
- char = p.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- wait()
- char.Head.face.Texture = "rbxassetid://339199908"
- ----------------------------------------------------
- -------------cowl 1---------------------------------
- Head = Instance.new("Part", char)
- Head.Size = Vector3.new(1,1,1)
- Headmesh = Instance.new("SpecialMesh", Head)
- Headmesh.MeshId = "rbxassetid://2094837820"
- Headmesh.Scale = Vector3.new(1,1,1)
- Headmesh.TextureId = "rbxassetid://257258036"
- Head.Transparency = 0
- Head.CanCollide = false
- Head.Name = "plrHead"
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Really black")
- Weld = Instance.new("Weld", char)
- Weld.Part0 = char["Head"]
- Weld.Part1 = Head
- Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(0,3.14,0)
- -------------cowl 2---------------------------------
- Head = Instance.new("Part", char)
- Head.Size = Vector3.new(1,1,1)
- Headmesh = Instance.new("SpecialMesh", Head)
- Headmesh.MeshId = "rbxassetid://2094921878"
- Headmesh.Scale = Vector3.new(1.05,1,1)
- Head.Transparency = 0
- Head.CanCollide = false
- Head.Name = "plrHead"
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Cork")
- Weld = Instance.new("Weld", char)
- Weld.Part0 = char["Head"]
- Weld.Part1 = Head
- Weld.C1 = CFrame.new(0,-.21,.051)*CFrame.Angles(0,3.14,0)
- -------------cowl 1---------------------------------
- Head = Instance.new("Part", char)
- Head.Size = Vector3.new(1,1,1)
- Headmesh = Instance.new("SpecialMesh", Head)
- Headmesh.MeshId = "rbxassetid://2095005080"
- Headmesh.Scale = Vector3.new(1,1,1)
- Head.Transparency = 0
- Head.CanCollide = false
- Head.Name = "plrHead"
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Cork")
- Weld = Instance.new("Weld", char)
- Weld.Part0 = char["Torso"]
- Weld.Part1 = Head
- Weld.C1 = CFrame.new(-0.52, -0.39, 0)*CFrame.Angles(0,-1.55,0)
- -------------cowl 2---------------------------------
- Head = Instance.new("Part", char)
- Head.Size = Vector3.new(1,1,1)
- Headmesh = Instance.new("SpecialMesh", Head)
- Headmesh.MeshId = "rbxassetid://2095078494"
- Headmesh.Scale = Vector3.new(1,1,1)
- Head.Transparency = 0
- Head.CanCollide = false
- Head.Name = "plrHead"
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Institutional white")
- Weld = Instance.new("Weld", char)
- Weld.Part0 = char["Torso"]
- Weld.Part1 = Head
- Weld.C1 = CFrame.new(-0.51, -0.38, 0)*CFrame.Angles(0,-1.55,0)
- for _, a in pairs(char:children()) do
- if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
- a:Destroy()
- end
- end
- local s = Instance.new('Shirt', char)
- s.ShirtTemplate = "rbxassetid://181732140"
- local p = Instance.new('Pants', char)
- p.PantsTemplate = "rbxassetid://181732392"
- Instance.new("ForceField",char).Visible = false
- local poo = Instance.new("IntValue",char)
- poo.Name = "haha nope"
- wait()
- Instance.new("ForceField",char).Visible = false
- ---------------trail test-----------------------
- -- [ SANIIIC HES ON DA RAWN ] --
- wait()
- thing = 0
- LoudVolume = false
- Submerged = false
- Music = true
- script.Name = "SANIIIIC"
- Player = game.Players.LocalPlayer
- c = game.Players.LocalPlayer.Character
- Head = c.Head
- Humanoid = c.Humanoid
- anim = c.Humanoid.Animator
- rage = false
- p = game.Players.LocalPlayer
- Music = false
- anim = Humanoid.Animator
- local Effects = {}
- attack = false
- local attacking = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- mouse = Player:GetMouse()
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = c.Torso:FindFirstChild("Right Shoulder")
- LS = c.Torso:FindFirstChild("Left Shoulder")
- RH = c.Torso:FindFirstChild("Right Hip")
- LH = c.Torso:FindFirstChild("Left Hip")
- RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
- N = c.Torso:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- --[[mainShirt = c.Shirt
- mainPants = c.Pants
- mainBColors = c["Body Colors"]
- mainShirt.ShirtTemplate = "rbxassetid://769869277"
- mainPants.PantsTemplate = "rbxassetid://805486769"
- mainBColors.HeadColor = BrickColor.new("Pastel brown")
- mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
- mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
- mainBColors.RightArmColor = BrickColor.new("Pastel brown")
- mainBColors.RightLegColor = BrickColor.new("Pastel brown")
- mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function lerpz(joint, prop, cfrmz, alp)
- joint[prop] = joint[prop]:lerp(cfrmz, alp)
- end
- function resetlerp()
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- end
- local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://1246460167" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
- local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new (30/255,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(30/255,0/255,0/255))}
- local att1 = Instance.new("Attachment", c["Right Leg"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Leg"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Leg"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Leg"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Leg"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Leg"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Leg"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Leg"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Leg"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Leg"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Leg"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Leg"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailside2.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Leg"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailtop12.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Leg"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Leg"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Leg"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Right Arm"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Arm"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Arm"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Arm"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Arm"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Arm"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Arm"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Arm"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Arm"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Arm"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailbot1.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Arm"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Arm"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Arm"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Arm"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Arm"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Arm"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Torso"])
- att1.Name = "att1"
- att1.Position = Vector3.new(1, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Torso"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-1, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Torso"])
- att3.Name = "att3"
- att3.Position = Vector3.new(1, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Torso"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-1, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Head"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(.55, .55, 0.025)
- local attt2 = Instance.new("Attachment", c["Head"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-.55, .55, 0.025)
- local attt3 = Instance.new("Attachment", c["Head"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(.55, -.5, 0.025)
- local attt4 = Instance.new("Attachment", c["Head"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-.55, -.5, 0.025)
- local trailtop1 = Instance.new("Trail", c["Torso"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Torso"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Torso"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Torso"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Head"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Head"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Head"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Head"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
- Sped = 0
- --function ragplayer(cactus)
- --local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://131026421" S.Volume = 2 S:Play()
- --cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
- --if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
- --cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
- --makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
- --maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
- --end
- --if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
- --cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
- --makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
- --maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
- --end
- --if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
- --cactus.Torso:FindFirstChild("Right Hip"):Destroy()
- --makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
- --maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
- --end
- --if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
- --cactus.Torso:FindFirstChild("Left Hip"):Destroy()
- --makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
- --maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
- --end
- --cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
- --end
- --function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
- --
- --function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
- local hitz = false
- c.HumanoidRootPart.Touched:connect(function(Hit)
- if thing >= 100 then
- if hitz == false then hitz = true
- --ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://386946017" S.Volume = 6 S:Play()
- --wait(15)
- end
- end
- end)
- --local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
- --P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
- --P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
- --spawn(function()
- --while true do
- --P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
- --swait()
- --end
- --end)
- sine = 0
- game:GetService("RunService").RenderStepped:connect(function()
- if attack == false then
- thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- game.Workspace.CurrentCamera.FieldOfView = 70+thing/15
- if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
- --lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
- --lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
- elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
- sine = sine + 1 Sped = Sped + 0.1
- if thing <= 75 then -- this is spedo
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- for i,v2 in pairs(v:children()) do
- if v2.ClassName == "Trail" then
- v2.Enabled = false
- --v2.LightEmission = 1 if want gloww
- end
- end
- end
- end
- else
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- for i,v2 in pairs(v:children()) do
- if v2.ClassName == "Trail" then
- v2.Lifetime = .25
- v2.Enabled = true
- end
- end
- end
- end
- end
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/25), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- --lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
- --lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- --lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
- --lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- --lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
- --lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- --lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
- --lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- else c.Humanoid.WalkSpeed = 16 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- --lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
- --lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- --lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
- --lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- for i,v in pairs (c:children()) do
- if v.ClassName == "Accessory" then
- for i,v2 in pairs (v:children()) do
- if v2.ClassName == "Part" then
- v2.Anchored = false
- end
- end
- end
- for i,v in pairs (c:children()) do
- if v.ClassName == "Part" then
- v.Anchored = false
- end
- end
- end
- end
- end)
- z1 = Instance.new("Sound",char)
- z1.SoundId = "rbxassetid://921265104" -- Put Music ID Here.
- z1.Looped = false
- z1.Volume = 8
- wait(.1)
- z1:Play()
- wait(4.5)
- z = Instance.new("Sound",char)
- z.SoundId = "rbxassetid://214465446" -- Put Music ID Here.
- z.Looped = true
- z.Volume = 3
- z:Play()
- wait(.45)
- z1:Stop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement