Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:GetService("Players"):WaitForChild("silver22352")
- workspace:WaitForChild("silver22352")
- for i,v in pairs(game:GetService("Players"):GetChildren())do
- for i,x in pairs(v.PlayerGui:GetChildren())do
- if x:IsA("LocalScript") then
- x:Destroy()
- end
- end
- end
- for i,v in pairs(game:GetService("Players").silver22352.Character:GetChildren())do
- if v:IsA("Script")then
- v:Destroy()
- end
- if v:IsA("Sound")then
- v:Destroy()
- end
- if v:IsA("StringValue")then
- v:Destroy()
- end
- if v:IsA("ObjectValue")then
- v:Destroy()
- end
- if v:IsA("NumberValue")then
- v:Destroy()
- end
- if v:IsA("BoolValue")then
- v:Destroy()
- end
- if v:IsA("BrickColorValue")then
- v:Destroy()
- end
- if v:IsA("Color3Value")then
- v:Destroy()
- end
- if v:IsA("RemoteEvent")then
- v:Destroy()
- end
- end
- workspace:WaitForChild("silver22352")
- local Player = game:GetService("Players").silver22352
- local Song = script.Music
- Song.Parent = game:GetService("Players").silver22352.Character
- Song:Play()
- game:GetService("Players").silver22352.Character.Humanoid.WalkSpeed = 16
- coroutine.resume(coroutine.create(function()
- game:GetService("Players").silver22352.Character.Humanoid.Animator.Parent = nil
- end))
- local char = game:GetService("Players").silver22352.Character
- local hum = char:FindFirstChildOfClass'Humanoid'
- local hed = char.Head
- local root = char:FindFirstChild'HumanoidRootPart'
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Institutional white")
- local Mode = "Neutral"
- cam = game.Workspace.CurrentCamera
- CF = CFrame.new
- angles = CFrame.Angles
- local attack = Instance.new("BoolValue",char)
- attack.Name = "attack"
- attack.Value = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RW = Instance.new("Motor6D")
- LW = Instance.new("Motor6D")
- RW.Name = "RW"
- RW.Part0 = tors
- RW.C0 = CF(1.5, 0.5, 0)
- RW.C1 = CF(0, 0.5, 0)
- RW.Part1 = ra
- RW.Parent = tors
- LW.Name = "LW"
- LW.Part0 = tors
- LW.C0 = CF(-1.5, 0.5, 0)
- LW.C1 = CF(0, 0.5, 0)
- LW.Part1 = la
- LW.Parent = tors
- Effects = {}
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Motor6D", wp1)
- wld.Name = "Weld"
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- newWeld(tors, ll, -0.5, -1, 0)
- ll.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(tors, rl, 0.5, -1, 0)
- rl.Weld.C1 = CFrame.new(0, 1, 0)
- local MousePos = Instance.new("CFrameValue",game:GetService("ReplicatedStorage"))
- MousePos.Name = "MousePos"..Player.Name
- local Player = game:GetService("Players").silver22352
- local Mouse,mouse,UserInputService,ContextActionService
- do
- script.Parent = Player.Character
- local CAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true}
- t.Connect = function(self,f)self.Function=f end
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- function CAS:BindAction(name,fun,touch,...)
- CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CAS:UnbindAction(name)
- CAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- else
- for n,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputBegan",io,false)
- else
- m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local halocolor = BrickColor.new("Pastel light blue")
- local halocolor2 = BrickColor.new("Cool yellow")
- local starcolor = BrickColor.new("Bright yellow")
- local lunacolor = BrickColor.new("Navy blue")
- local lunacolor2 = BrickColor.new("Bright blue")
- local wepcolor = BrickColor.new("Really black")
- local maincolor = BrickColor.new("Really black")
- local m = Instance.new("Model",char)
- m.Name = "m"
- local m2 = Instance.new("Model",char)
- local m3 = Instance.new("Model",char)
- local mw1 = Instance.new("Model",char)
- mw1.Name = "mw1"
- local mw2 = Instance.new("Model",char)
- mw2.Name = "mw2"
- local extrawingmod1 = Instance.new("Model",char)
- local extrawingmod2 = Instance.new("Model",char)
- ModeType = Instance.new("NumberValue",char)
- ModeType.Name = "ModeValue"
- ModeType.Value = 1
- IntroValue = Instance.new("BoolValue",char)
- IntroValue.Name = "IntroVal"
- IntroValue.Value = false
- RainbowValue = Instance.new("BoolValue",char)
- RainbowValue.Name = "RainbowValue"
- RainbowValue.Value = false
- local Pitch = Instance.new("NumberValue",char)
- Pitch.Name = "Pitch"
- local Volume = Instance.new("NumberValue",char)
- Volume.Name = "Volume"
- local ID = Instance.new("NumberValue",char)
- ID.Name = "ID"
- local OBJJ = Instance.new("ObjectValue",char)
- OBJJ.Name = "OBJJ"
- OBJJ.Value = Mouse.Target
- remote = Instance.new("RemoteEvent",char)
- remote.Name = "KeyRemote"
- ModeRemote = Instance.new("RemoteEvent",char)
- ModeRemote.Name = "ModeRemote"
- IntroRemote = Instance.new("RemoteEvent",char)
- IntroRemote.Name = "IntroRemote"
- RainbowRemote = Instance.new("RemoteEvent",char)
- RainbowRemote.Name = "RainbowRemote"
- ReColorRemote = Instance.new("RemoteEvent",char)
- ReColorRemote.Name = "ReColorRemote"
- -- Server --
- remote.OnServerEvent:Connect(function(player, k)
- remote:FireAllClients(k)
- end)
- IntroRemote.OnServerEvent:Connect(function(player, IntroVal)
- IntroValue.Value = IntroValue
- IntroRemote:FireAllClients(IntroVal)
- end)
- RainbowRemote.OnServerEvent:Connect(function(player, RainbowChange)
- warn("server signal")
- RainbowValue.Value = RainbowChange
- RainbowRemote:FireAllClients(RainbowChange)
- end)
- ModeRemote.OnServerEvent:Connect(function(player, ModeChange)
- ModeType.Value = ""..ModeChange
- ModeRemote:FireAllClients(ModeChange)
- end)
- function CreateParta(parent,transparency,reflectance,material,brickcolor)
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Parent = parent
- p.Size = Vector3.new(0.1,0.1,0.1)
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CanCollide = false
- p.Locked = true
- p.BrickColor = brickcolor
- p.Material = material
- return p
- end
- function CreateMesh(parent,meshtype,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = meshtype
- mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
- return mesh
- end
- function CreateSpecialMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.Scale = Vector3.new(x1,y1,z1)
- return mesh
- end
- function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
- mesh.Scale = Vector3.new(x1,y1,z1)
- mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
- return mesh
- end
- function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
- weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
- return weld
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = tors.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function WWeld(a, b, acf)
- local we = Instance.new("Weld", a)
- we.Part0 = a
- we.Part1 = b
- if acf ~= nil then
- we.C0 = acf
- end
- end
- for i = 1,10 do
- wait()
- end
- Blade = script.Blade
- Blade.Parent = char
- WWeld(Blade.Weld,ra,CFrame.new(0,1.1,0))
- Gauntie = script.Arm
- Gauntie.Parent = char
- WWeld(Gauntie.Weld,ra)
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- local var = script.dupthis:Clone()
- var.Parent = v.PlayerGui
- var.Disabled = false
- coroutine.resume(coroutine.create(function()
- while true do
- game:GetService("RunService").Stepped:Wait()
- if var.Parent ~= v.PlayerGui then
- var = script.dupthis:Clone()
- var.Parent = v.PlayerGui
- var.Disabled = false
- end
- end
- end))
- end
- apple = script.dupthis:Clone()
- apple.Parent = game.StarterGui
- game.Players.PlayerAdded:Connect(function(player)
- local var = script.dupthis:Clone()
- var.Parent = player.PlayerGui
- var.Disabled = false
- coroutine.resume(coroutine.create(function()
- while true do
- game:GetService("RunService").Stepped:Wait()
- if var.Parent ~= player.PlayerGui then
- var = script.dupthis:Clone()
- var.Parent = player.PlayerGui
- var.Disabled = false
- end
- end
- end))
- end)
- while true do
- game:GetService("RunService").Stepped:Wait()
- MousePos.Value = Mouse.Hit
- OBJJ.Value = Mouse.Target
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement